From 18b35e57c8257ba4da61f223603da7aaec580b64 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 4 Apr 2004 23:29:10 +0000 Subject: [PATCH] these debug() calls look as if they should be debugC() calls svn-id: r13466 --- scumm/resource.cpp | 2 +- scumm/script.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 5dd13c2f829..1dd6d90c2ce 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -1734,7 +1734,7 @@ byte *ScummEngine::getResourceAddress(int type, int idx) { setResourceCounter(type, idx, 1); - debug(DEBUG_RESOURCE, "getResourceAddress(%s,%d) == %p", resTypeFromId(type), idx, ptr + sizeof(MemBlkHeader)); + debugC(DEBUG_RESOURCE, "getResourceAddress(%s,%d) == %p", resTypeFromId(type), idx, ptr + sizeof(MemBlkHeader)); return ptr + sizeof(MemBlkHeader); } diff --git a/scumm/script.cpp b/scumm/script.cpp index 5ee40b10408..2db41d7a9ca 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -460,7 +460,7 @@ int ScummEngine::readVar(uint var) { else copyprotbypassed = true; - debug(DEBUG_VARS, "readvar(%d)", var); + debugC(DEBUG_VARS, "readvar(%d)", var); if (var & 0x2000 && !(_features & GF_NEW_OPCODES)) { a = fetchScriptWord();