diff options
author | Colin Snover | 2017-09-06 16:21:04 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-08 16:02:32 -0500 |
commit | b5e801379f5123dfd8195ac3c4b7a8ba4168a458 (patch) | |
tree | 55a691d3dfbbe1ad8f8e36ac2383910e5521f972 /gui | |
parent | d97f192f45f553a0900b3f6e35af7dc4fb982dfe (diff) | |
download | scummvm-rg350-b5e801379f5123dfd8195ac3c4b7a8ba4168a458.tar.gz scummvm-rg350-b5e801379f5123dfd8195ac3c4b7a8ba4168a458.tar.bz2 scummvm-rg350-b5e801379f5123dfd8195ac3c4b7a8ba4168a458.zip |
DEBUGGER: Flush stdout after debugger writes with USE_TEXT_CONSOLE_FOR_DEBUGGER
stdout may be buffered, in which case debugger messages are
delayed until a newline is written. The same kinds of calls to
OSystem::logMessage are flushed, so this just seems to be a simple
omission on this non-default code branch.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/debugger.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/debugger.cpp b/gui/debugger.cpp index 7595efcfbc..a570d86b70 100644 --- a/gui/debugger.cpp +++ b/gui/debugger.cpp @@ -110,6 +110,7 @@ int Debugger::debugPrintf(const char *format, ...) { count = _debuggerDialog->vprintFormat(1, format, argptr); #else count = ::vprintf(format, argptr); + ::fflush(stdout); #endif va_end (argptr); return count; |