diff --git a/desmume/src/windows/console.cpp b/desmume/src/windows/console.cpp index 0d20d4694..f2540a9a1 100644 --- a/desmume/src/windows/console.cpp +++ b/desmume/src/windows/console.cpp @@ -135,5 +135,8 @@ void CloseConsole() { void printlog(const char *fmt, ...) { - printf(fmt); + va_list args; + va_start (args, fmt); + vprintf (fmt, args); + va_end (args); }