From 74c37b4e87286f40000dea00b529126af5a7d4b8 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Sat, 3 Jan 2015 00:45:31 +0000 Subject: [PATCH] and protect from double exit --- libctru/source/gfx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libctru/source/gfx.c b/libctru/source/gfx.c index e7b6672..a2e9583 100644 --- a/libctru/source/gfx.c +++ b/libctru/source/gfx.c @@ -192,6 +192,8 @@ void gfxExit() GSPGPU_ReleaseRight(NULL); gspExit(); + + screenFree = NULL; } u8* gfxGetFramebuffer(gfxScreen_t screen, gfx3dSide_t side, u16* width, u16* height)