Tidy up Debugger + breakpoints initial work
This commit is contained in:
@@ -247,6 +247,9 @@ void KaizenGui::RenderUI() {
|
||||
}, this, window.getHandle(), filters, 3, nullptr, false);
|
||||
}
|
||||
|
||||
if(minimized)
|
||||
return;
|
||||
|
||||
if(core.romLoaded) {
|
||||
core.parallel.UpdateScreen();
|
||||
return;
|
||||
@@ -271,6 +274,12 @@ void KaizenGui::run() {
|
||||
quit = true;
|
||||
emuThread.Stop();
|
||||
break;
|
||||
case SDL_EVENT_WINDOW_MINIMIZED:
|
||||
minimized = true;
|
||||
break;
|
||||
case SDL_EVENT_WINDOW_RESTORED:
|
||||
minimized = false;
|
||||
break;
|
||||
}
|
||||
QueryDevices(e);
|
||||
HandleInput(e);
|
||||
|
||||
Reference in New Issue
Block a user