mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
EmuInstance: Use GetLocalFilePath to get the wfcsettings path
Fixes the file being created in the current working directory.
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user