diff options
author | Max Horn | 2010-11-01 21:37:47 +0000 |
---|---|---|
committer | Max Horn | 2010-11-01 21:37:47 +0000 |
commit | a7248a0601a5b8e34fa9cccc3543e93fa9ab6649 (patch) | |
tree | b2e3e2b6e15de28bd203a7ab8e3024928ae592ce /engines/scumm/script.cpp | |
parent | cba30ee716a3679d86656d6f1aade3e33d3130d7 (diff) | |
download | scummvm-rg350-a7248a0601a5b8e34fa9cccc3543e93fa9ab6649.tar.gz scummvm-rg350-a7248a0601a5b8e34fa9cccc3543e93fa9ab6649.tar.bz2 scummvm-rg350-a7248a0601a5b8e34fa9cccc3543e93fa9ab6649.zip |
ENGINES: Replace many printfs by warning/debug/debugN
svn-id: r54031
Diffstat (limited to 'engines/scumm/script.cpp')
-rw-r--r-- | engines/scumm/script.cpp | 10 |
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); |