mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 04:34:50 +00:00
Comments regarding use of sle16 for 32bit variables.. :P
svn-id: r6468
This commit is contained in:
parent
4fde613432
commit
15ad897ed3
@ -358,6 +358,8 @@ void Scumm::saveOrLoad(Serializer *s, uint32 savegameVersion)
|
||||
MKARRAY(Scumm, _localScriptList[0], sleUint32, NUM_LOCALSCRIPT, VER_V8),
|
||||
|
||||
// vm.localvar grew from 25 to 40 entries
|
||||
// FIXME: ComI stores 32-bit variables.. so.. er.. shouldn't this be a sleInt32 if we
|
||||
// don't want games to hidiously behave oddly?
|
||||
MKARRAY_OLD(Scumm, vm.localvar[0][0], sleUint16, 25 * 17, VER_V8, VER_V8),
|
||||
MKARRAY(Scumm, vm.localvar[0][0], sleUint16, NUM_SCRIPT_SLOT * 17, VER_V9),
|
||||
|
||||
@ -623,6 +625,8 @@ void Scumm::saveOrLoad(Serializer *s, uint32 savegameVersion)
|
||||
var120Backup = _vars[120];
|
||||
var98Backup = _vars[98];
|
||||
|
||||
// FIXME: ComI stores 32-bit variables.. so.. er.. shouldn't this be a sleInt32 if we
|
||||
// don't want games to hidiously behave oddly?
|
||||
s->saveLoadArrayOf(_vars, _numVariables, sizeof(_vars[0]), sleInt16);
|
||||
|
||||
if (_gameId == GID_TENTACLE) // Maybe misplaced, but that's the main idea
|
||||
|
Loading…
Reference in New Issue
Block a user