[Scummvm-cvs-logs] SF.net SVN: scummvm: [26420] scummvm/trunk/engines/scumm/he/script_v72he. cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Mon Apr 9 01:25:53 CEST 2007


Revision: 26420
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26420&view=rev
Author:   kirben
Date:     2007-04-08 16:25:53 -0700 (Sun, 08 Apr 2007)

Log Message:
-----------
Adjust debug output in writeINI opcode, so it doesn't get skipped.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/script_v72he.cpp

Modified: scummvm/trunk/engines/scumm/he/script_v72he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v72he.cpp	2007-04-08 20:43:33 UTC (rev 26419)
+++ scummvm/trunk/engines/scumm/he/script_v72he.cpp	2007-04-08 23:25:53 UTC (rev 26420)
@@ -2155,13 +2155,15 @@
 	case 6: // number
 		value = pop();
 		copyScriptString(option, sizeof(option));
+		debug(1, "o72_writeINI: Option %s Value %d", option, value);
+
 		ConfMan.setInt((char *)option, value);
-		debug(1, "o72_writeINI: Option %s Value %d", option, value);
 		break;
 	case 77: // HE 100
 	case 7: // string
 		copyScriptString(string, sizeof(string));
 		copyScriptString(option, sizeof(option));
+		debug(1, "o72_writeINI: Option %s String %s", option, string);
 
 		// Filter out useless setting
 		if (!strcmp((char *)option, "HETest"))
@@ -2176,7 +2178,6 @@
 			return;
 
 		ConfMan.set((char *)option, (char *)string);
-		debug(1, "o72_writeINI: Option %s String %s", option, string);
 		break;
 	default:
 		error("o72_writeINI: default type %d", subOp);


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