From 89fc70f076222691a604aba7d2cae05254e413d1 Mon Sep 17 00:00:00 2001 From: smea Date: Tue, 20 Oct 2015 23:03:03 -0700 Subject: [PATCH] fixed bug which caused gsp shared mem to never be unmapped when using gfx --- libctru/source/gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libctru/source/gfx.c b/libctru/source/gfx.c index 15dbbcc..19975f2 100644 --- a/libctru/source/gfx.c +++ b/libctru/source/gfx.c @@ -188,7 +188,7 @@ void gfxExit(void) screenFree(gfxTopLeftFramebuffers[0]); //unmap GSP shared mem - svcUnmapMemoryBlock(gspSharedMemHandle, 0x10002000); + svcUnmapMemoryBlock(gspSharedMemHandle, (u32)gfxSharedMemory); GSPGPU_UnregisterInterruptRelayQueue();