aboutsummaryrefslogtreecommitdiff
path: root/engines/simon
diff options
context:
space:
mode:
authorTravis Howell2006-04-13 07:16:42 +0000
committerTravis Howell2006-04-13 07:16:42 +0000
commit09f4ae15806e0392f9530bf5cd83a02cae72b34b (patch)
treed4a805c9b41374eac29acb00be3f12198ccf0d96 /engines/simon
parent3fa9fa06c2787697606e001e402fae1ec798bad2 (diff)
downloadscummvm-rg350-09f4ae15806e0392f9530bf5cd83a02cae72b34b.tar.gz
scummvm-rg350-09f4ae15806e0392f9530bf5cd83a02cae72b34b.tar.bz2
scummvm-rg350-09f4ae15806e0392f9530bf5cd83a02cae72b34b.zip
Fix various crash issues in FF, the image number in vc2_call needed to be adjusted
svn-id: r21836
Diffstat (limited to 'engines/simon')
-rw-r--r--engines/simon/vga.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp
index 87792eb57f..13dd47515e 100644
--- a/engines/simon/vga.cpp
+++ b/engines/simon/vga.cpp
@@ -239,6 +239,8 @@ void SimonEngine::vc2_call() {
const byte *vc_ptr_org;
num = vcReadVarOrWord();
+ if (getGameType() == GType_FF)
+ num &= 0xFFFF;
old_file_1 = _curVgaFile1;
old_file_2 = _curVgaFile2;