mirror of https://github.com/mgba-emu/mgba.git
GUI: Only reload config if manually saved
This commit is contained in:
parent
458fd58985
commit
2ddb6d759a
1
CHANGES
1
CHANGES
|
@ -76,6 +76,7 @@ Misc:
|
|||
- GBA Video: Optimize compositing cases slightly
|
||||
- VFS: Improve zip file detection
|
||||
- Util: Add endswith
|
||||
- GUI: Only reload config if manually saved
|
||||
|
||||
0.4.1: (2016-07-11)
|
||||
Bugfixes:
|
||||
|
|
|
@ -115,6 +115,7 @@ void mGUIShowConfig(struct mGUIRunner* runner, struct GUIMenuItem* extra, size_t
|
|||
mCoreConfigSetUIntValue(&runner->config, item->data, item->state);
|
||||
}
|
||||
mCoreConfigSave(&runner->config);
|
||||
mCoreLoadForeignConfig(runner->core, &runner->config);
|
||||
break;
|
||||
}
|
||||
if (!strcmp(item->data, "*REMAP")) {
|
||||
|
|
|
@ -434,7 +434,6 @@ void mGUIRun(struct mGUIRunner* runner, const char* path) {
|
|||
break;
|
||||
case RUNNER_CONFIG:
|
||||
mGUIShowConfig(runner, runner->configExtra, runner->nConfigExtra);
|
||||
mCoreLoadForeignConfig(runner->core, &runner->config);
|
||||
break;
|
||||
case RUNNER_CONTINUE:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue