diff --git a/src/osdep/pandora_gfx.cpp b/src/osdep/pandora_gfx.cpp index 111427cf..4a13060d 100644 --- a/src/osdep/pandora_gfx.cpp +++ b/src/osdep/pandora_gfx.cpp @@ -309,12 +309,12 @@ void flush_screen () init_row_map(); } -void black_screen_now(void) -{ - SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255); - SDL_RenderClear(renderer); - SDL_RenderPresent(renderer); -} +//void black_screen_now(void) +//{ +// SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255); +// SDL_RenderClear(renderer); +// SDL_RenderPresent(renderer); +//} static void graphics_subinit (void) { @@ -600,7 +600,6 @@ bool target_graphics_buffer_update (void) if (rate_changed) { - black_screen_now(); fpscounter_reset(); time_per_frame = 1000 * 1000 / (currprefs.chipset_refreshrate); } diff --git a/src/osdep/pandora_gui.cpp b/src/osdep/pandora_gui.cpp index 3f1dd854..04bb51e0 100644 --- a/src/osdep/pandora_gui.cpp +++ b/src/osdep/pandora_gui.cpp @@ -558,8 +558,6 @@ void gui_display(int shortcut) update_display(&changed_prefs); - /* Clear menu garbage at the bottom of the screen */ - black_screen_now(); reset_sound(); resume_sound(); blkdev_exitgui(); diff --git a/src/osdep/target.h b/src/osdep/target.h index d9a0a188..0e71b88d 100644 --- a/src/osdep/target.h +++ b/src/osdep/target.h @@ -25,7 +25,6 @@ void wait_for_vsync(void); void saveAdfDir(void); void update_display(struct uae_prefs *); -void black_screen_now(void); void graphics_subshutdown(void); void moveVertical(int value);