[Scummvm-cvs-logs] SF.net SVN: scummvm:[50226] scummvm/trunk/engines/sci/engine/vm.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Thu Jun 24 20:17:37 CEST 2010


Revision: 50226
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50226&view=rev
Author:   m_kiewitz
Date:     2010-06-24 18:17:36 +0000 (Thu, 24 Jun 2010)

Log Message:
-----------
SCI: added uninitialized workaround for sq4cd

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/vm.cpp

Modified: scummvm/trunk/engines/sci/engine/vm.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/vm.cpp	2010-06-24 17:48:15 UTC (rev 50225)
+++ scummvm/trunk/engines/sci/engine/vm.cpp	2010-06-24 18:17:36 UTC (rev 50226)
@@ -191,12 +191,13 @@
 	int index;
 	uint16 newValue;
 } static const uninitializedReadWorkarounds[] = {
-	{ "laurabow2",       24,   "gcWin", "open",     5, 0xf }, // is used as priority for game menu
-	{ "freddypharkas",   24,   "gcWin", "open",     5, 0xf }, // is used as priority for game menu
-	{ "freddypharkas",   31, "quitWin", "open",     5, 0xf }, // is used as priority for game menu
-	{ "lsl1sci",        720,   "rm720", "init",     0,   0 }, // age check room
-	{ "islandbrain",    140,   "piece", "init",     3,   1 }, // some initialization variable. bnt is done on it, and it should be non-0
-	{ NULL,              -1,      NULL,   NULL,     0,   0 }
+	{ "laurabow2",       24,    "gcWin", "open",		 5, 0xf }, // is used as priority for game menu
+	{ "freddypharkas",   24,    "gcWin", "open",		 5, 0xf }, // is used as priority for game menu
+	{ "freddypharkas",   31,  "quitWin", "open",		 5, 0xf }, // is used as priority for game menu
+	{ "lsl1sci",        720,    "rm720", "init",		 0,   0 }, // age check room
+	{ "islandbrain",    140,    "piece", "init",		 3,   1 }, // some initialization variable. bnt is done on it, and it should be non-0
+	{ "sq4",			928, "Narrator", "startText", 1000,   1 }, // sq4cd: method returns this to the caller
+	{ NULL,              -1,       NULL,   NULL,		 0,   0 }
 };
 
 static reg_t validate_read_var(reg_t *r, reg_t *stack_base, int type, int max, int index, int line, reg_t default_value) {


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