summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Rimpo <jrim@rimpo.org>2017-12-07 21:53:31 -0600
committerJeremy Rimpo <jrim@rimpo.org>2017-12-07 21:53:31 -0600
commitb45b6f3342d3f79c17915e5ac2b19e4fbbb44968 (patch)
tree1df90c1bb1c1e27b2c6d277b3368560b1cbe32a4
parentd7a1955f18116b7d7c4f022a09158ca993dd8838 (diff)
Don't set save path or mygamesdirectory in initweaks
-rw-r--r--src/profile.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index 558d9114..6382a15c 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -221,18 +221,6 @@ void Profile::createTweakedIniFile()
error = true;
}
- if (localSavesEnabled()) {
- if (!::WritePrivateProfileStringW(L"General", L"bUseMyGamesDirectory", L"0", ToWString(tweakedIni).c_str())) {
- error = true;
- }
-
- if (!::WritePrivateProfileStringW(L"General", L"SLocalSavePath",
- AppConfig::localSavePlaceholder(),
- ToWString(tweakedIni).c_str())) {
- error = true;
- }
- }
-
if (error) {
reportError(tr("failed to create tweaked ini: %1").arg(getCurrentErrorStringA().c_str()));
}