diff options
| author | degasus <wickmarkus@web.de> | 2016-06-26 08:06:23 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2016-06-26 12:34:59 +0200 |
| commit | d79aeaa1e9b224b3bb147c605fb8ffd6e2bfc890 (patch) | |
| tree | 4b3501c75657ecca47e85e3aa3fd4361641b78a3 /Source/Core/VideoCommon/MainBase.cpp | |
| parent | 5f2f4620676198bb63eeb169358435037491d4ad (diff) | |
VideoCommon: Drop GetConfigName.
We're past 5.0 now, so there is no need to look for old inis.
Diffstat (limited to 'Source/Core/VideoCommon/MainBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/MainBase.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/MainBase.cpp b/Source/Core/VideoCommon/MainBase.cpp index c51515eb89..eeed59e597 100644 --- a/Source/Core/VideoCommon/MainBase.cpp +++ b/Source/Core/VideoCommon/MainBase.cpp @@ -163,7 +163,7 @@ void VideoBackendBase::ShowConfig(void* parent_handle) if (!m_initialized) InitBackendInfo(); - Host_ShowVideoConfig(parent_handle, GetDisplayName(), GetConfigName()); + Host_ShowVideoConfig(parent_handle, GetDisplayName()); } void VideoBackendBase::InitializeShared() @@ -194,10 +194,7 @@ void VideoBackendBase::InitializeShared() GeometryShaderManager::Init(); PixelShaderManager::Init(); - if (File::Exists(File::GetUserPath(D_CONFIG_IDX) + "GFX.ini")) - g_Config.Load(File::GetUserPath(D_CONFIG_IDX) + "GFX.ini"); - else - g_Config.Load(File::GetUserPath(D_CONFIG_IDX) + GetConfigName() + ".ini"); + g_Config.Load(File::GetUserPath(D_CONFIG_IDX) + "GFX.ini"); g_Config.GameIniLoad(); g_Config.UpdateProjectionHack(); g_Config.VerifyValidity(); |
