diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-06-10 20:24:18 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-06-10 20:24:18 +0200 |
| commit | 0e85c472379f7c4328dc44878388bb1b311f6f22 (patch) | |
| tree | a9a000501896ecf87deacfd5a00e3a85298c0826 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 0a6933137109eb26b2efe4795a8a0ee30a9ecdc5 (diff) | |
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.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 619b8212b5..1011ec6c95 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -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(); } |
