mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
VideoConfig: Remove manual panic alert setting load
This code hadn't been touched since 2010. Nowadays, the panic alert setting is loaded by ConfigManager and applied in UICommon. VideoConfig has no business messing with it.
This commit is contained in:
@ -159,14 +159,6 @@ void VideoConfig::Refresh()
|
||||
}
|
||||
}
|
||||
|
||||
// Load common settings
|
||||
IniFile iniFile;
|
||||
iniFile.Load(File::GetUserPath(F_DOLPHINCONFIG_IDX));
|
||||
IniFile::Section* interface = iniFile.GetOrCreateSection("Interface");
|
||||
bool bTmp;
|
||||
interface->Get("UsePanicHandlers", &bTmp, true);
|
||||
SetEnableAlert(bTmp);
|
||||
|
||||
VerifyValidity();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user