diff --git a/source/Debugger_Console.cpp b/source/Debugger_Console.cpp index c29f44d4..c6708fc7 100644 --- a/source/Debugger_Console.cpp +++ b/source/Debugger_Console.cpp @@ -605,6 +605,7 @@ Update_t ConsoleBufferTryUnpause (int nLines) return UPDATE_CONSOLE_DISPLAY; } +// Flush the console //=========================================================================== Update_t ConsoleUpdate () { @@ -616,3 +617,10 @@ Update_t ConsoleUpdate () return UPDATE_CONSOLE_DISPLAY; } + +//=========================================================================== +void ConsoleFlush () +{ + int nLines = g_nConsoleBuffer; + ConsoleBufferTryUnpause( nLines ); +}