diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2015-07-02 22:27:01 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2015-12-22 00:16:29 +0100 |
| commit | 314914005247520b3a8ebed79de02c7a5d1fd794 (patch) | |
| tree | bf1ac77ebb7fbce21363a22007e36ba8e76a4bc3 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 9039cc58606612ca9f14631d148b72cf6b13133f (diff) | |
Config: Hotfix to prevent per-game settings from ie. GameINIs being stored to the global user configuration.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index a9181e7b21..4fcb1aac2f 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -269,6 +269,13 @@ void VideoConfig::VerifyValidity() void VideoConfig::Save(const std::string& ini_file) { + // TODO: This 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); |
