aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/script.cpp')
-rw-r--r--engines/scumm/script.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/scumm/script.cpp b/engines/scumm/script.cpp
index b6058d4d9a..eac2061560 100644
--- a/engines/scumm/script.cpp
+++ b/engines/scumm/script.cpp
@@ -467,11 +467,11 @@ void ScummEngine::executeScript() {
while (_currentScript != 0xFF) {
if (_showStack == 1) {
- printf("Stack:");
+ debugN("Stack:");
for (c = 0; c < _scummStackPos; c++) {
- printf(" %d", _vmStack[c]);
+ debugN(" %d", _vmStack[c]);
}
- printf("\n");
+ debugN("\n");
}
_opcode = fetchScriptByte();
if (_game.version > 2) // V0-V2 games didn't use the didexec flag
@@ -483,9 +483,9 @@ void ScummEngine::executeScript() {
getOpcodeDesc(_opcode));
if (_hexdumpScripts == true) {
for (c = -1; c < 15; c++) {
- printf(" %02x", *(_scriptPointer + c));
+ debugN(" %02x", *(_scriptPointer + c));
}
- printf("\n");
+ debugN("\n");
}
executeOpcode(_opcode);