Move all settings to Windows64/Settings & Ensure the folder exists

This commit is contained in:
2026-05-13 01:11:43 -04:00
parent e0c09e7afb
commit 590556ae49
3 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -788,7 +788,7 @@ static void Win64_GetSettingsPath(char *outPath, DWORD size)
GetModuleFileNameA(nullptr, outPath, size);
char *lastSlash = strrchr(outPath, '\\');
if (lastSlash) *(lastSlash + 1) = '\0';
strncat_s(outPath, size, "settings.dat", _TRUNCATE);
strncat_s(outPath, size, "Windows64/Settings/settings.dat", _TRUNCATE);
}
static void Win64_SaveSettings(GAME_SETTINGS *gs)
{