all repos — mgba @ aeb90ba90de511d9b4a289f70b2095a07dedb2e4

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

aeb90ba90de511d9b4a289f70b2095a07dedb2e4

parent

c657255009d8a3143e1a2ecd390f9f895374f60c

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

jump to
M CHANGESCHANGES

@@ -45,6 +45,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 Timer: Use global cycles for timers - GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
M src/platform/wii/main.csrc/platform/wii/main.c

@@ -733,6 +733,7 @@ }

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