3DS: Work around menu freezing (fixes #1294)

This commit is contained in:
Vicki Pfau 2019-02-23 18:33:42 -08:00
parent 4b32348601
commit 2b09a8c207
2 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,7 @@ Bugfixes:
- GBA Video: Fix enabling layers in non-tile modes (fixes mgba.io/i/1317) - GBA Video: Fix enabling layers in non-tile modes (fixes mgba.io/i/1317)
- Qt: Fix quick load recent accidentally saving (fixes mgba.io/i/1309) - Qt: Fix quick load recent accidentally saving (fixes mgba.io/i/1309)
- GBA: Fix video timing when skipping BIOS (fixes mgba.io/i/1318) - GBA: Fix video timing when skipping BIOS (fixes mgba.io/i/1318)
- 3DS: Work around menu freezing (fixes mgba.io/i/1294)
Misc: Misc:
- GBA Savedata: EEPROM performance fixes - GBA Savedata: EEPROM performance fixes
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash

View File

@ -548,6 +548,10 @@ void mGUIRun(struct mGUIRunner* runner, const char* path) {
runner->params.drawStart(); runner->params.drawStart();
runner->drawFrame(runner, true); runner->drawFrame(runner, true);
runner->params.drawEnd(); runner->params.drawEnd();
#ifdef _3DS
// XXX: Why does this fix #1294?
usleep(1000);
#endif
GUIPollInput(&runner->params, 0, &keys); GUIPollInput(&runner->params, 0, &keys);
} }
if (runner->unpaused) { if (runner->unpaused) {