From 09f4ae15806e0392f9530bf5cd83a02cae72b34b Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 13 Apr 2006 07:16:42 +0000 Subject: Fix various crash issues in FF, the image number in vc2_call needed to be adjusted svn-id: r21836 --- engines/simon/vga.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3