all repos — mgba @ 1e594e0e499d51bd1d952ddfbfbf02fb3a737c64

mGBA Game Boy Advance Emulator

Wii: Fix screen tear when unpausing
Diego A Diego_Arroyo@live.com
Wed, 31 Jan 2018 23:13:05 -0400
commit

1e594e0e499d51bd1d952ddfbfbf02fb3a737c64

parent

70c21a28369a23ee2d764cc6765d24c06dbd1e0d

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -19,6 +19,7 @@ - Core: Fix ROM patches not being unloaded when disabled (fixes mgba.io/i/962)

- GBA I/O: Fix writing to DISPCNT CGB flag (fixes mgba.io/i/902) - GBA Memory: Partially revert prefetch changes (fixes mgba.io/i/840) - PSP2: Fix issues causing poor audio + - Wii: Fix screen tear when unpausing Misc: - GBA: Improve multiboot image detection - GB MBC: Remove erroneous bank 0 wrapping
M src/platform/wii/main.csrc/platform/wii/main.c

@@ -721,6 +721,7 @@ }

void _unpaused(struct mGUIRunner* runner) { u32 level = 0; + VIDEO_WaitVSync(); _CPU_ISR_Disable(level); referenceRetraceCount = retraceCount; _CPU_ISR_Restore(level);