From e01244acfa843f6d55feb5a5ccfe534fb48be2f1 Mon Sep 17 00:00:00 2001 From: ToadKing Date: Mon, 29 Apr 2013 16:08:40 -0400 Subject: [PATCH] (GX) clear framebuffer before exit --- frontend/platform/platform_gx.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/platform/platform_gx.c b/frontend/platform/platform_gx.c index 6649abffc7..41a5f4ab03 100644 --- a/frontend/platform/platform_gx.c +++ b/frontend/platform/platform_gx.c @@ -335,7 +335,15 @@ static void system_exitspawn(void) #endif } -static void system_deinit(void) {} +static void system_deinit(void) +{ + GX_DrawDone(); + GX_AbortFrame(); + GX_Flush(); + VIDEO_SetBlack(true); + VIDEO_Flush(); + VIDEO_WaitVSync(); +} #ifndef IS_SALAMANDER static int system_process_args(int argc, char *argv[])