From: profi200 Date: Sat, 13 Dec 2014 23:21:29 +0000 (+0100) Subject: Fixed weird blackscreen issue X-Git-Tag: v0.3.0~47^2~8^2 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=e99b0def409c7ff2dd7db3968535675573528263;p=corbenik%2Fctrulib.git Fixed weird blackscreen issue --- 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()