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++; 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)