Skip to content

Commit

Permalink
Fixed weird blackscreen issue
Browse files Browse the repository at this point in the history
  • Loading branch information
profi200 committed Dec 13, 2014
1 parent 60d7d57 commit e99b0de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libctru/source/gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit e99b0de

Please sign in to comment.