1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Always reload custom ini settings after config dialog,

otherwise custom settings will be lost.
This commit is contained in:
Sergey Lipskiy 2015-03-27 16:26:21 +06:00
parent 24dc02563e
commit 350da68077

View File

@ -409,11 +409,11 @@ void Config_DoConfig(HWND hParent)
wchar_t strIniFileName[PLUGIN_PATH_SIZE];
_getIniFileName(strIniFileName);
if (RunConfig(strIniFileName)) {
if (config.generalEmulation.enableCustomSettings != 0)
LoadCustomRomSettings(strIniFileName, RSP.romname);
const bool bRestart = RunConfig(strIniFileName);
if (config.generalEmulation.enableCustomSettings != 0)
LoadCustomRomSettings(strIniFileName, RSP.romname);
if (bRestart)
video().restart();
}
}
void Config_LoadConfig()