From b45b6f3342d3f79c17915e5ac2b19e4fbbb44968 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Thu, 7 Dec 2017 21:53:31 -0600 Subject: Don't set save path or mygamesdirectory in initweaks --- src/profile.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/profile.cpp') 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())); } -- cgit v1.3.1