From e99b0def409c7ff2dd7db3968535675573528263 Mon Sep 17 00:00:00 2001 From: profi200 Date: Sun, 14 Dec 2014 00:21:29 +0100 Subject: [PATCH] Fixed weird blackscreen issue --- libctru/source/gfx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libctru/source/gfx.c b/libctru/source/gfx.c index 6f9b94f..9b499ef 100644 --- a/libctru/source/gfx.c +++ b/libctru/source/gfx.c @@ -96,7 +96,6 @@ void gfxInit() gfxSharedMemory=(u8*)0x10002000; GSPGPU_AcquireRight(NULL, 0x0); - GSPGPU_SetLcdForceBlack(NULL, 0x0); //setup our gsp shared mem section svcCreateEvent(&gspEvent, 0x0); @@ -133,6 +132,8 @@ void gfxInit() // Initialize event handler and wait for VBlank gspInitEventHandler(gspEvent, (vu8*)gfxSharedMemory, gfxThreadID); gspWaitForVBlank(); + + GSPGPU_SetLcdForceBlack(NULL, 0x0); } void gfxExit()