summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorBrian Munro <brian.alexander.munro@gmail.com>2017-12-08 19:41:04 +0200
committerGitHub <noreply@github.com>2017-12-08 19:41:04 +0200
commit0aaece55d8b5bb392523db4ee96029d0567294e8 (patch)
treeb54e386cf49645dc5739c06c6c809ca4b80220c6 /src/profile.cpp
parent7c80181e010af25a2d1d0df12f4c715aa6a7bed9 (diff)
parentef21bd6193e6d0bebe356dd3401dafcf064c3aa6 (diff)
Merge pull request #138 from Silarn/mainline_dev
Fixes for local saves and configuration handling
Diffstat (limited to 'src/profile.cpp')
-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()));
}