Wii: Fix garbage flash at startup (#354)
Diego A Diego_Arroyo@live.com
Fri, 19 Aug 2016 18:47:58 -0400
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -26,6 +26,7 @@ - Qt: Fix hanging key press after disabling autofire
- PSP2: Delete threads after they return - GBA Video: WIN0/1 take priority over OBJWIN - PSP2: Fix mapping/unmapping from not at 0 + - Wii: Fix garbage flash at startup Misc: - 3DS: Use blip_add_delta_fast for a small speed improvement - OpenGL: Log shader compilation failure
M
src/platform/wii/main.c
→
src/platform/wii/main.c
@@ -112,12 +112,12 @@
VIDEO_SetBlack(true); VIDEO_Configure(vmode); VIDEO_SetNextFramebuffer(framebuffer[whichFb]); - VIDEO_SetBlack(false); VIDEO_Flush(); VIDEO_WaitVSync(); if (vmode->viTVMode & VI_NON_INTERLACE) { VIDEO_WaitVSync(); } + VIDEO_SetBlack(false); GX_SetViewport(0, 0, vmode->fbWidth, vmode->efbHeight, 0, 1); f32 yscale = GX_GetYScaleFactor(vmode->efbHeight, vmode->xfbHeight);