diff options
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/debugger.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/he/logic_he.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/debugger.cpp b/engines/scumm/debugger.cpp index a391ba5332..891b5c0135 100644 --- a/engines/scumm/debugger.cpp +++ b/engines/scumm/debugger.cpp @@ -54,7 +54,7 @@ void debugC(int channel, const char *s, ...) { vsnprintf(buf, STRINGBUFLEN, s, va); va_end(va); - debug(buf); + debug("%s", buf); } ScummDebugger::ScummDebugger(ScummEngine *s) diff --git a/engines/scumm/he/logic_he.cpp b/engines/scumm/he/logic_he.cpp index bdb48f70ed..5bc61da76d 100644 --- a/engines/scumm/he/logic_he.cpp +++ b/engines/scumm/he/logic_he.cpp @@ -90,7 +90,7 @@ int32 LogicHE::dispatch(int op, int numArgs, int32 *args) { } strncat(str, "])", 256); - debug(0, str); + debug(0, "%s", str); #else // Used for parallel trace utility for (int i = 0; i < numArgs; i++) |