mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00: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:
parent
0a69331371
commit
0e85c47237
1 changed files with 0 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue