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

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

View File

@ -19,6 +19,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 Video: Improve sprite cycle counting (fixes mgba.io/i/1274) - GBA Video: Improve sprite cycle counting (fixes mgba.io/i/1274)

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) {