diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-06-10 21:34:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-10 21:34:56 +0200 |
| commit | eefae402b3ebf86a05861ec3cde057905dbfff87 (patch) | |
| tree | 8abe8ed41dc0847e8dd1a9a3139e0ee5e4ea0965 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | f2a6e3972290e64c6dcb929af89a1bca340a3ed5 (diff) | |
| parent | 774587cbd1809e3d42db49031595f11edc38badb (diff) | |
Merge pull request #5593 from leoetlino/legacy-code
VideoConfig: Remove useless code
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 619b8212b5..04ce2d24a0 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -3,15 +3,9 @@ // Refer to the license.txt file included. #include <algorithm> -#include <cmath> #include "Common/CommonTypes.h" -#include "Common/FileUtil.h" -#include "Common/IniFile.h" -#include "Common/MsgHandler.h" -#include "Common/StringUtil.h" #include "Core/Config/GraphicsSettings.h" -#include "Core/ConfigManager.h" #include "Core/Core.h" #include "Core/Movie.h" #include "VideoCommon/OnScreenDisplay.h" @@ -159,14 +153,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(); } |
