mirror of https://github.com/mgba-emu/mgba.git
Wii: Fix screen tear when unpausing
This commit is contained in:
parent
70c21a2836
commit
1e594e0e49
1
CHANGES
1
CHANGES
|
@ -19,6 +19,7 @@ Bugfixes:
|
|||
- 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
|
||||
|
|
|
@ -721,6 +721,7 @@ void _gameLoaded(struct mGUIRunner* runner) {
|
|||
|
||||
void _unpaused(struct mGUIRunner* runner) {
|
||||
u32 level = 0;
|
||||
VIDEO_WaitVSync();
|
||||
_CPU_ISR_Disable(level);
|
||||
referenceRetraceCount = retraceCount;
|
||||
_CPU_ISR_Restore(level);
|
||||
|
|
Loading…
Reference in New Issue