aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/inter_v4.cpp')
-rw-r--r--engines/gob/inter_v4.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/engines/gob/inter_v4.cpp b/engines/gob/inter_v4.cpp
index b24e54ffbd..6ed05af690 100644
--- a/engines/gob/inter_v4.cpp
+++ b/engines/gob/inter_v4.cpp
@@ -640,8 +640,9 @@ void Inter_v4::setupOpcodes() {
}
void Inter_v4::executeDrawOpcode(byte i) {
- debugC(1, kDebugDrawOp, "opcodeDraw %d [0x%X] (%s)",
- i, i, getOpcodeDrawDesc(i));
+ debugC(1, kDebugDrawOp, "opcodeDraw %d [0x%X] (%s) - %s, %ld",
+ i, i, getOpcodeDrawDesc(i),
+ _vm->_game->_curTotFile, _vm->_global->_inter_execPtr - _vm->_game->_totFileData);
OpcodeDrawProcV4 op = _opcodesDrawV4[i].proc;
@@ -652,8 +653,9 @@ void Inter_v4::executeDrawOpcode(byte i) {
}
bool Inter_v4::executeFuncOpcode(byte i, byte j, OpFuncParams &params) {
- debugC(1, kDebugFuncOp, "opcodeFunc %d.%d [0x%X.0x%X] (%s)",
- i, j, i, j, getOpcodeFuncDesc(i, j));
+ debugC(1, kDebugFuncOp, "opcodeFunc %d.%d [0x%X.0x%X] (%s) - %s, %ld",
+ i, j, i, j, getOpcodeFuncDesc(i, j),
+ _vm->_game->_curTotFile, _vm->_global->_inter_execPtr - _vm->_game->_totFileData);
if ((i > 4) || (j > 15)) {
warning("unimplemented opcodeFunc: %d.%d", i, j);
@@ -671,8 +673,9 @@ bool Inter_v4::executeFuncOpcode(byte i, byte j, OpFuncParams &params) {
}
void Inter_v4::executeGoblinOpcode(int i, OpGobParams &params) {
- debugC(1, kDebugGobOp, "opcodeGoblin %d [0x%X] (%s)",
- i, i, getOpcodeGoblinDesc(i));
+ debugC(1, kDebugGobOp, "opcodeGoblin %d [0x%X] (%s) - %s, %ld",
+ i, i, getOpcodeGoblinDesc(i),
+ _vm->_game->_curTotFile, _vm->_global->_inter_execPtr - _vm->_game->_totFileData);
OpcodeGoblinProcV4 op = NULL;