mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Config: Hotfix to prevent per-game settings from ie. GameINIs being stored to the global user configuration.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user