EmuInstance: Use GetLocalFilePath to get the wfcsettings path
Fixes the file being created in the current working directory.
This commit is contained in:
parent
4b17de7e8c
commit
5eadd67df6
|
@ -518,7 +518,7 @@ std::string EmuInstance::getEffectiveFirmwareSavePath()
|
||||||
{
|
{
|
||||||
if (!globalCfg.GetBool("Emu.ExternalBIOSEnable"))
|
if (!globalCfg.GetBool("Emu.ExternalBIOSEnable"))
|
||||||
{
|
{
|
||||||
return kWifiSettingsPath;
|
return GetLocalFilePath(kWifiSettingsPath);
|
||||||
}
|
}
|
||||||
if (consoleType == 1)
|
if (consoleType == 1)
|
||||||
{
|
{
|
||||||
|
@ -1261,7 +1261,7 @@ void EmuInstance::reset()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
newsave = kWifiSettingsPath + instanceFileSuffix();
|
newsave = GetLocalFilePath(kWifiSettingsPath + instanceFileSuffix());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oldsave != newsave)
|
if (oldsave != newsave)
|
||||||
|
|
Loading…
Reference in New Issue