aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
authorTravis Howell2007-04-08 23:25:53 +0000
committerTravis Howell2007-04-08 23:25:53 +0000
commitd58b2bea3b6f79d9e8888b1c7caf115d024d766a (patch)
tree3c523145b6fff9d6dcba11119ae151df898e9262 /engines/scumm/he
parent0673fa4aa53abc3f52d8f413d9e035b6392bae21 (diff)
downloadscummvm-rg350-d58b2bea3b6f79d9e8888b1c7caf115d024d766a.tar.gz
scummvm-rg350-d58b2bea3b6f79d9e8888b1c7caf115d024d766a.tar.bz2
scummvm-rg350-d58b2bea3b6f79d9e8888b1c7caf115d024d766a.zip
Adjust debug output in writeINI opcode, so it doesn't get skipped.
svn-id: r26420
Diffstat (limited to 'engines/scumm/he')
-rw-r--r--engines/scumm/he/script_v72he.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp
index 518eb7d765..5611047596 100644
--- a/engines/scumm/he/script_v72he.cpp
+++ b/engines/scumm/he/script_v72he.cpp
@@ -2155,13 +2155,15 @@ void ScummEngine_v72he::o72_writeINI() {
case 6: // number
value = pop();
copyScriptString(option, sizeof(option));
- ConfMan.setInt((char *)option, value);
debug(1, "o72_writeINI: Option %s Value %d", option, value);
+
+ ConfMan.setInt((char *)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 @@ void ScummEngine_v72he::o72_writeINI() {
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);