diff options
-rw-r--r-- | engines/agos/script.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp index 60c3d97c1d..5afafc148e 100644 --- a/engines/agos/script.cpp +++ b/engines/agos/script.cpp @@ -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); } |