mirror of https://github.com/mgba-emu/mgba.git
GUI: Remove obsolete calls to guiFinish
This commit is contained in:
parent
f0c3f6e42a
commit
31daa4cfc5
|
@ -173,9 +173,6 @@ void GBAGUIRunloop(struct GBAGUIRunner* runner) {
|
|||
while (true) {
|
||||
char path[256];
|
||||
if (!GUISelectFile(&runner->params, path, sizeof(path), GBAIsROM)) {
|
||||
if (runner->params.guiFinish) {
|
||||
runner->params.guiFinish();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -273,9 +270,6 @@ void GBAGUIRunloop(struct GBAGUIRunner* runner) {
|
|||
while (keys) {
|
||||
GUIPollInput(&runner->params, 0, &keys);
|
||||
}
|
||||
if (runner->params.guiFinish) {
|
||||
runner->params.guiFinish();
|
||||
}
|
||||
if (runner->unpaused) {
|
||||
runner->unpaused(runner);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue