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

This commit is contained in:
2026-05-13 01:17:52 -04:00
parent 2244ba5ed8
commit d4b9ab389a
3 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -895,7 +895,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)
{