mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
Save game header is 32 bits, not 16
svn-id: r29819
This commit is contained in:
parent
cd740a5474
commit
32a3b60167
@ -1255,10 +1255,10 @@ void Winnie::loadGame() {
|
||||
// Note that the original saves variables as 16-bit integers, but only 8 bits are used.
|
||||
// Since we read the save file data as little-endian, we skip the first byte of each
|
||||
// variable
|
||||
|
||||
infile->seek(0); // Jump back to the beginning of the file
|
||||
|
||||
// First 16 bits are an unused field, and they have already been read from the
|
||||
// header check above
|
||||
|
||||
infile->readUint16LE(); // skip unused field
|
||||
infile->readByte(); // first 8 bits of fSound
|
||||
_game.fSound = infile->readByte();
|
||||
infile->readByte(); // first 8 bits of nMoves
|
||||
|
Loading…
x
Reference in New Issue
Block a user