mirror of https://github.com/stella-emu/stella.git
Fix crash when force-exiting a ROM from debugger.
This commit is contained in:
parent
ea31d4b464
commit
508102b56e
|
@ -156,9 +156,10 @@ void Debugger::quit(bool exitrom)
|
|||
if(exitrom)
|
||||
myOSystem.eventHandler().handleEvent(Event::LauncherMode, 1);
|
||||
else
|
||||
{
|
||||
myOSystem.eventHandler().leaveDebugMode();
|
||||
|
||||
myOSystem.console().tia().clearPendingFrame();
|
||||
myOSystem.console().tia().clearPendingFrame();
|
||||
}
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
Loading…
Reference in New Issue