fix GX build

we don't want to delete framebuffers or clear the frame on free since we might be loading a game, not exiting
This commit is contained in:
ToadKing 2013-04-25 17:42:42 -04:00
parent 1521113e8f
commit 1db27ad356

View File

@ -1001,18 +1001,6 @@ static bool gx_focus(void *data)
static void gx_free(void *data)
{
(void)data;
#ifdef TAKE_EFB_SCREENSHOT_ON_EXIT
gx_efb_screenshot();
#endif
GX_DrawDone();
GX_AbortFrame();
GX_Flush();
VIDEO_SetBlack(true);
VIDEO_Flush();
VIDEO_WaitVSync();
for (unsigned i = 0; i < 2; i++)
free(MEM_K1_TO_K0(g_framebuf[i]));
}
static void gx_set_rotation(void *data, unsigned orientation)