Merge pull request #3373 from JosJuice/temp-settings-ini-hotfix

Config Hotfix: Prevent per-game settings (ie. GameINI) being stored to the global user configuration.
This commit is contained in:
Scott Mansell
2015-12-22 12:37:22 +13:00
2 changed files with 15 additions and 1 deletions

View File

@ -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);