Update box flags for C64 maniac
svn-id: r21093
This commit is contained in:
parent
70dc40cc93
commit
3fbf207ee5
1 changed files with 4 additions and 0 deletions
|
@ -132,6 +132,8 @@ void ScummEngine::setBoxFlags(int box, int val) {
|
|||
return;
|
||||
if (_game.version == 8)
|
||||
ptr->v8.flags = TO_LE_32(val);
|
||||
else if (_game.id == GID_MANIAC && _game.platform == Common::kPlatformC64)
|
||||
ptr->c64.flags = val;
|
||||
else if (_game.version <= 2)
|
||||
ptr->v2.flags = val;
|
||||
else
|
||||
|
@ -145,6 +147,8 @@ byte ScummEngine::getBoxFlags(int box) {
|
|||
return 0;
|
||||
if (_game.version == 8)
|
||||
return (byte) FROM_LE_32(ptr->v8.flags);
|
||||
else if (_game.id == GID_MANIAC && _game.platform == Common::kPlatformC64)
|
||||
return ptr->c64.flags;
|
||||
else if (_game.version <= 2)
|
||||
return ptr->v2.flags;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue