EmuInstance: Use GetLocalFilePath to get the wfcsettings path

Fixes the file being created in the current working directory.
This commit is contained in:
Nadia Holmquist Pedersen 2024-07-17 15:44:47 +02:00
parent 4b17de7e8c
commit 5eadd67df6
1 changed files with 2 additions and 2 deletions

View File

@ -518,7 +518,7 @@ std::string EmuInstance::getEffectiveFirmwareSavePath()
{
if (!globalCfg.GetBool("Emu.ExternalBIOSEnable"))
{
return kWifiSettingsPath;
return GetLocalFilePath(kWifiSettingsPath);
}
if (consoleType == 1)
{
@ -1261,7 +1261,7 @@ void EmuInstance::reset()
}
else
{
newsave = kWifiSettingsPath + instanceFileSuffix();
newsave = GetLocalFilePath(kWifiSettingsPath + instanceFileSuffix());
}
if (oldsave != newsave)