Skip to content

Commit

Permalink
AGOS: Fix using saved games from the CD versions of Simon the Sorcere…
Browse files Browse the repository at this point in the history
…r 2, on the floppy disk versions of Simon the Sorcerer 2.
  • Loading branch information
Travis Howell committed Nov 19, 2011
1 parent 04ae8db commit 105c90b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions engines/agos/saveload.cpp
Expand Up @@ -1390,6 +1390,15 @@ bool AGOSEngine_Elvira2::loadGame(const char *filename, bool restartMode) {

_videoLockOut &= ~0x100;

// The floppy disk versions of Simon the Sorcerer 2 block changing
// to scrolling rooms, if the copy protection fails. But the copy
// protection flags are never set in the CD version.
// Setting this copy protection flag, allows saved games to be shared
// between all versions of Simon the Sorcerer 2.
if (getGameType() == GType_SIMON2) {
setBitFlag(135, 1);
}

return true;
}

Expand Down

0 comments on commit 105c90b

Please sign in to comment.