[Scummvm-cvs-logs] SF.net SVN: scummvm:[42598] scummvm/trunk/engines/sci/console.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Sun Jul 19 00:19:08 CEST 2009


Revision: 42598
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42598&view=rev
Author:   wjpalenstijn
Date:     2009-07-18 22:19:07 +0000 (Sat, 18 Jul 2009)

Log Message:
-----------
SCI: Fix disasm_addr option parsing

Modified Paths:
--------------
    scummvm/trunk/engines/sci/console.cpp

Modified: scummvm/trunk/engines/sci/console.cpp
===================================================================
--- scummvm/trunk/engines/sci/console.cpp	2009-07-18 22:17:56 UTC (rev 42597)
+++ scummvm/trunk/engines/sci/console.cpp	2009-07-18 22:19:07 UTC (rev 42598)
@@ -2232,7 +2232,7 @@
 	_vm->_gamestate->seg_manager->dereference(vpc, &size);
 	size += vpc.offset; // total segment size
 
-	for (int i = 1; i < argc; i++) {
+	for (int i = 2; i < argc; i++) {
 		if (!scumm_stricmp(argv[i], "bwt"))
 			do_bwc = 1;
 		else if (!scumm_stricmp(argv[i], "bc"))


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