GUI: Only reload config if manually saved

This commit is contained in:
Jeffrey Pfau 2016-08-24 12:54:43 -07:00
parent 458fd58985
commit 2ddb6d759a
3 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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")) {

View File

@ -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;