From 4881ad2282fb8d485d2246c1acb7a9f6ff7bbe8b Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Thu, 2 Jul 2015 22:27:01 +0200 Subject: Config: Hotfix to prevent per-game settings from ie. GameINIs being stored to the global user configuration. --- Source/Core/VideoCommon/VideoConfig.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Source/Core/VideoCommon') diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 1a989878f5..a5f5513d3f 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -239,6 +239,13 @@ void VideoConfig::VerifyValidity() void VideoConfig::Save(const std::string& ini_file) { + // TODO: The is a hotfix to prevent writing of temporary per-game settings + // (GameINI, Movie, Netplay, ...) to the global Dolphin configuration file. + // The Config logic should be rewritten instead so that per-game settings + // aren't stored in the same configuration as the actual user settings. + if (Core::IsRunning()) + return; + IniFile iniFile; iniFile.Load(ini_file); -- cgit v1.2.3