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:
parent
0a69331371
commit
0e85c47237
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue