fixed #830 (Debugger window messed up)

This commit is contained in:
Thomas Jentzsch 2021-09-25 19:07:17 +02:00
parent 9a36e3f6ad
commit 6a9f1075d2
1 changed files with 7 additions and 4 deletions

View File

@ -472,11 +472,14 @@ void Console::setFormat(uInt32 format, bool force)
myConsoleInfo.DisplayFormat = myDisplayFormat + autodetected;
setTIAProperties();
initializeVideo(); // takes care of refreshing the screen
initializeAudio(); // ensure that audio synthesis is set up to match emulation rate
myOSystem.resetFps(); // Reset FPS measurement
if(myOSystem.eventHandler().inTIAMode())
{
initializeVideo(); // takes care of refreshing the screen
initializeAudio(); // ensure that audio synthesis is set up to match emulation rate
myOSystem.resetFps(); // Reset FPS measurement
myOSystem.frameBuffer().showTextMessage(message);
myOSystem.frameBuffer().showTextMessage(message);
}
// Let the other devices know about the console change
mySystem->consoleChanged(myConsoleTiming);