From d7862e4dfc7627e4ffc11ec63ca66aee603f3288 Mon Sep 17 00:00:00 2001 From: Patrick Kingston Date: Thu, 12 Mar 2026 11:20:44 +0100 Subject: [PATCH 1/2] Use rm -rf for compat in debug platform --- platform/debug/makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/debug/makefile b/platform/debug/makefile index dafd6eb..7bf16c0 100644 --- a/platform/debug/makefile +++ b/platform/debug/makefile @@ -152,5 +152,4 @@ win: make -f makefile.win clean: - -rm -f $(BUILDOBJS) $(TARGET) $(WINTARGET) $(WINRES_TRG) - -rmdir --ignore-fail-on-non-empty $(BUILD) + -rm -rf $(BUILDOBJS) $(TARGET) $(WINTARGET) $(WINRES_TRG) $(BUILD) From 69c8d71bef547e7575b711766ae9787a9fd57334 Mon Sep 17 00:00:00 2001 From: Patrick Kingston Date: Thu, 12 Mar 2026 11:20:55 +0100 Subject: [PATCH 2/2] Swap event loop order The SDL event loop seemed to be starving the gtk event loop of event, swapping them around allows for proper event handling and the application to function --- platform/debug/PokeMini_Debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/debug/PokeMini_Debug.c b/platform/debug/PokeMini_Debug.c index 63dec7c..252e5e4 100644 --- a/platform/debug/PokeMini_Debug.c +++ b/platform/debug/PokeMini_Debug.c @@ -770,8 +770,8 @@ int main(int argc, char **argv) CPUWindow_FrameRendered(); // Handle events - while (SDL_PollEvent(&event)) handleevents(&event); while (gtk_events_pending()) gtk_main_iteration(); + while (SDL_PollEvent(&event)) handleevents(&event); // calculate FPS fpscnt++;