mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
AGOS: Fix using saved games from the CD versions of Simon the Sorcerer 2, on the floppy disk versions of Simon the Sorcerer 2.
This commit is contained in:
parent
04ae8dbf20
commit
105c90b9d5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user