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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Apr 23 20:46:41 CEST 2009


Revision: 40093
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40093&view=rev
Author:   thebluegr
Date:     2009-04-23 18:46:41 +0000 (Thu, 23 Apr 2009)

Log Message:
-----------
Fixed the GetMessage kernel opcode. Eco Quest 1 text is showing up correctly now

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

Modified: scummvm/trunk/engines/sci/engine/kstring.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kstring.cpp	2009-04-23 18:17:35 UTC (rev 40092)
+++ scummvm/trunk/engines/sci/engine/kstring.cpp	2009-04-23 18:46:41 UTC (rev 40093)
@@ -782,7 +782,6 @@
 	return NULL_REG;
 }
 
-// FIXME: This doesn't always work, sometimes it doesn't find the requested tuple (tested with EcoQuest 1)
 reg_t kGetMessage(EngineState *s, int funct_nr, int argc, reg_t *argv) {
 	if (!state.initialized)
 		message_state_initialize(s->resmgr, &state);

Modified: scummvm/trunk/engines/sci/engine/message.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/message.cpp	2009-04-23 18:17:35 UTC (rev 40092)
+++ scummvm/trunk/engines/sci/engine/message.cpp	2009-04-23 18:46:41 UTC (rev 40093)
@@ -169,8 +169,8 @@
 	get_talker_trivial,
 	index_record_get_text_2101,
 	header_get_index_record_count_2101,
-	10,		// FIXME: is this correct?
-	11		// FIXME: is this correct?
+	6,
+	4
 };
 
 static MessageHandler fixed_handler = {


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