[Scummvm-cvs-logs] SF.net SVN: scummvm: [21836] scummvm/trunk/engines/simon/vga.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Thu Apr 13 00:17:04 CEST 2006


Revision: 21836
Author:   kirben
Date:     2006-04-13 00:16:42 -0700 (Thu, 13 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21836&view=rev

Log Message:
-----------
Fix various crash issues in FF, the image number in vc2_call needed to be adjusted

Modified Paths:
--------------
    scummvm/trunk/engines/simon/vga.cpp
Modified: scummvm/trunk/engines/simon/vga.cpp
===================================================================
--- scummvm/trunk/engines/simon/vga.cpp	2006-04-13 04:01:55 UTC (rev 21835)
+++ scummvm/trunk/engines/simon/vga.cpp	2006-04-13 07:16:42 UTC (rev 21836)
@@ -239,6 +239,8 @@
 	const byte *vc_ptr_org;
 
 	num = vcReadVarOrWord();
+	if (getGameType() == GType_FF)
+		num &= 0xFFFF;
 
 	old_file_1 = _curVgaFile1;
 	old_file_2 = _curVgaFile2;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list