Fixed weird blackscreen issue

This commit is contained in:
profi200 2014-12-14 00:21:29 +01:00
parent 60d7d571e6
commit e99b0def40

View File

@ -96,7 +96,6 @@ void gfxInit()
gfxSharedMemory=(u8*)0x10002000; gfxSharedMemory=(u8*)0x10002000;
GSPGPU_AcquireRight(NULL, 0x0); GSPGPU_AcquireRight(NULL, 0x0);
GSPGPU_SetLcdForceBlack(NULL, 0x0);
//setup our gsp shared mem section //setup our gsp shared mem section
svcCreateEvent(&gspEvent, 0x0); svcCreateEvent(&gspEvent, 0x0);
@ -133,6 +132,8 @@ void gfxInit()
// Initialize event handler and wait for VBlank // Initialize event handler and wait for VBlank
gspInitEventHandler(gspEvent, (vu8*)gfxSharedMemory, gfxThreadID); gspInitEventHandler(gspEvent, (vu8*)gfxSharedMemory, gfxThreadID);
gspWaitForVBlank(); gspWaitForVBlank();
GSPGPU_SetLcdForceBlack(NULL, 0x0);
} }
void gfxExit() void gfxExit()