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: v0.6.0~7 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=bba6b90ba006dd2a06df76bb5aeb2ffeeb61163c;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 f0b68a3..d99d420 100644 --- a/libctru/source/gfx.c +++ b/libctru/source/gfx.c @@ -187,7 +187,7 @@ void gfxExit() screenFree(gfxTopLeftFramebuffers[0]); //unmap GSP shared mem - svcUnmapMemoryBlock(gspSharedMemHandle, 0x10002000); + svcUnmapMemoryBlock(gspSharedMemHandle, (u32)gfxSharedMemory); GSPGPU_UnregisterInterruptRelayQueue(NULL);