mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-29 15:32:01 +00:00
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:
parent
1521113e8f
commit
1db27ad356
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user