From: smea Date: Wed, 21 Oct 2015 06:03:03 +0000 (-0700) Subject: fixed bug which caused gsp shared mem to never be unmapped when using gfx X-Git-Tag: v1.0.0~68 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=89fc70f076222691a604aba7d2cae05254e413d1;p=corbenik%2Fctrulib.git fixed bug which caused gsp shared mem to never be unmapped when using gfx --- 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();