From a7248a0601a5b8e34fa9cccc3543e93fa9ab6649 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 1 Nov 2010 21:37:47 +0000 Subject: ENGINES: Replace many printfs by warning/debug/debugN svn-id: r54031 --- engines/scumm/script.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/scumm/script.cpp') 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); -- cgit v1.2.3