From 0e85c472379f7c4328dc44878388bb1b311f6f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 10 Jun 2017 20:24:18 +0200 Subject: [PATCH] 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. --- Source/Core/VideoCommon/VideoConfig.cpp | 8 -------- 1 file changed, 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(); }