From 35b4cc149fbdb11bb40f748d18cc4227246da3ff Mon Sep 17 00:00:00 2001 From: saad <45915273+rootexpm@users.noreply.github.com> Date: Tue, 21 Jan 2025 16:41:12 +0000 Subject: [PATCH] get default save data path from fs --- src/common/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config.cpp b/src/common/config.cpp index e38aa405c..6e9db50ff 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -113,7 +113,7 @@ bool GetLoadGameSizeEnabled() { std::filesystem::path GetSaveDataPath() { if (save_data_path.empty()) { - return Common::FS::GetUserPath(Common::FS::PathType::UserDir) / "savedata"; + return Common::FS::GetUserPath(Common::FS::PathType::SaveDataDir); } return save_data_path; }