Save path should always be normalized

This commit is contained in:
irisz64
2025-12-18 08:45:46 +01:00
parent ebeb5f2cb5
commit ebcafd5b86

View File

@@ -23,7 +23,7 @@ void GeneralSettings::render() {
return;
}
general->savesPath = *filelist;
general->savesPath = fs::absolute(*filelist).string();
Options::GetInstance().SetValue<std::string>("general", "savePath", general->savesPath);
general->modified = true;
}, this, window.getHandle(), nullptr, false);