mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 18:02:05 +00:00
Revert change, caused regression (Mini game in Cosmic Diner of puttmoon no longer works)
svn-id: r14025
This commit is contained in:
parent
9fae63756b
commit
54e3e20b98
@ -1082,8 +1082,7 @@ int ScummEngine_v6he::readFileToArray(int slot, int32 size) {
|
|||||||
|
|
||||||
writeVar(0, 0);
|
writeVar(0, 0);
|
||||||
|
|
||||||
// define size as size-1 because in defineArray it gets incremented
|
ArrayHeader *ah = defineArray(0, rtCostume, 0, size);
|
||||||
ArrayHeader *ah = defineArray(0, rtCostume, 0, size-1);
|
|
||||||
_hFileTable[slot].read(ah->data, size);
|
_hFileTable[slot].read(ah->data, size);
|
||||||
|
|
||||||
return readVar(0);
|
return readVar(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user