mirror of https://github.com/mgba-emu/mgba.git
3DS: Work around menu freezing (fixes #1294)
This commit is contained in:
parent
e251a69a29
commit
ab0f08f68a
1
CHANGES
1
CHANGES
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue