all repos — mgba @ ab0f08f68af74a6a82bdb52f97bccc661bf937c1

mGBA Game Boy Advance Emulator

3DS: Work around menu freezing (fixes #1294)
Vicki Pfau vi@endrift.com
Sat, 23 Feb 2019 18:33:42 -0800
commit

ab0f08f68af74a6a82bdb52f97bccc661bf937c1

parent

e251a69a29e8059733ae788bd4be5852b76cdac1

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

jump to
M CHANGESCHANGES

@@ -19,6 +19,7 @@ - GB, GBA Serialize: Fix loading two states in a row

- 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) - GBA: Fix video timing when skipping BIOS (fixes mgba.io/i/1318) + - 3DS: Work around menu freezing (fixes mgba.io/i/1294) Misc: - GBA Video: Improve sprite cycle counting (fixes mgba.io/i/1274)
M src/feature/gui/gui-runner.csrc/feature/gui/gui-runner.c

@@ -548,6 +548,10 @@ ++frames;

runner->params.drawStart(); runner->drawFrame(runner, true); runner->params.drawEnd(); +#ifdef _3DS + // XXX: Why does this fix #1294? + usleep(1000); +#endif GUIPollInput(&runner->params, 0, &keys); } if (runner->unpaused) {