mirror of https://github.com/mgba-emu/mgba.git
mGUI: Fix closing down a game if an exit is signalled
This commit is contained in:
parent
b8c2f0c6b0
commit
00321dd9de
1
CHANGES
1
CHANGES
|
@ -2,6 +2,7 @@
|
|||
Other fixes:
|
||||
- 3DS: Redo video sync to be more precise
|
||||
- Qt: Add dummy English translation file (fixes mgba.io/i/1469)
|
||||
- mGUI: Fix closing down a game if an exit is signalled
|
||||
- VFS: Fix directory node listing on some filesystems
|
||||
|
||||
0.8.3: (2020-08-03)
|
||||
|
|
|
@ -538,6 +538,9 @@ void mGUIRun(struct mGUIRunner* runner, const char* path) {
|
|||
++frame;
|
||||
}
|
||||
}
|
||||
if (!running) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (runner->paused) {
|
||||
runner->paused(runner);
|
||||
|
@ -648,7 +651,7 @@ void mGUIRunloop(struct mGUIRunner* runner) {
|
|||
mInputMapLoad(&runner->params.keyMap, runner->keySources[i].id, mCoreConfigGetInput(&runner->config));
|
||||
}
|
||||
}
|
||||
while (true) {
|
||||
while (runner->running(runner)) {
|
||||
char path[PATH_MAX];
|
||||
const char* preselect = mCoreConfigGetValue(&runner->config, "lastGame");
|
||||
if (preselect) {
|
||||
|
|
Loading…
Reference in New Issue