mirror of
https://github.com/blawar/GLideN64.git
synced 2024-06-27 23:14:05 +00:00
GLideNUI: copy M64P_GLIDENUI fix to Config_LoadConfig() aswell
This commit is contained in:
parent
49373fde71
commit
941e054157
|
@ -42,6 +42,17 @@ void Config_LoadConfig()
|
|||
{
|
||||
wchar_t strIniFolderPath[PLUGIN_PATH_SIZE];
|
||||
api().FindPluginPath(strIniFolderPath);
|
||||
|
||||
#ifdef M64P_GLIDENUI
|
||||
wchar_t strConfigFolderPath[PLUGIN_PATH_SIZE];
|
||||
api().GetUserConfigPath(strConfigFolderPath);
|
||||
|
||||
if (!IsPathWriteable(strIniFolderPath)) {
|
||||
CopyConfigFiles(strIniFolderPath, strConfigFolderPath);
|
||||
api().GetUserConfigPath(strIniFolderPath);
|
||||
}
|
||||
#endif // M64P_GLIDENUI
|
||||
|
||||
LoadConfig(strIniFolderPath);
|
||||
if (config.generalEmulation.enableCustomSettings != 0)
|
||||
LoadCustomRomSettings(strIniFolderPath, RSP.romname);
|
||||
|
|
Loading…
Reference in New Issue
Block a user