mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 01:08:25 +00:00
Add work around for script bug in Amiga AGA/CD32 verisons of Simon the Sorcerer 1.
svn-id: r25510
This commit is contained in:
parent
9315ccbdc1
commit
45692d4323
@ -619,6 +619,14 @@ void AGOSEngine::o_picture() {
|
||||
uint vga_res = getVarOrWord();
|
||||
uint mode = getVarOrByte();
|
||||
|
||||
// Work around a script bug in the Amiga AGA/CD32 versions
|
||||
// When selecting locations on the magical map, the script looks
|
||||
// for vga_res 12701, but only vga_res 12700 exists.
|
||||
if (getGameType() == GType_SIMON1 && getPlatform() == Common::kPlatformAmiga &&
|
||||
vga_res == 12701) {
|
||||
vga_res = 12700;
|
||||
}
|
||||
|
||||
_picture8600 = (vga_res == 8600);
|
||||
setWindowImageEx(mode, vga_res);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user