summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2016-06-26 12:48:59 +0200
committerGitHub <noreply@github.com>2016-06-26 12:48:59 +0200
commit3887328bbaf43320b22ef2ca4ade325c23789d0f (patch)
tree4b3501c75657ecca47e85e3aa3fd4361641b78a3 /Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp
parentb16333a25cc0d8396f71fa1e410484026adea964 (diff)
parentd79aeaa1e9b224b3bb147c605fb8ffd6e2bfc890 (diff)
Merge pull request #3510 from degasus/master
VideoBackends: Merge backend initialization and shutdown.
Diffstat (limited to 'Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp')
-rw-r--r--Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp b/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp
index f3737512e6..87c947bfcd 100644
--- a/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp
+++ b/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp
@@ -31,17 +31,13 @@ IntegerSetting<T>::IntegerSetting(wxWindow* parent, const wxString& label, T& se
Bind(wxEVT_SPINCTRL, &IntegerSetting::UpdateValue, this);
}
-SoftwareVideoConfigDialog::SoftwareVideoConfigDialog(wxWindow* parent, const std::string& title,
- const std::string& ininame)
+SoftwareVideoConfigDialog::SoftwareVideoConfigDialog(wxWindow* parent, const std::string& title)
: wxDialog(parent, wxID_ANY,
wxString(wxString::Format(_("Dolphin %s Graphics Configuration"), title)))
{
VideoConfig& vconfig = g_Config;
- if (File::Exists(File::GetUserPath(D_CONFIG_IDX) + "GFX.ini"))
- vconfig.Load(File::GetUserPath(D_CONFIG_IDX) + "GFX.ini");
- else
- vconfig.Load(File::GetUserPath(D_CONFIG_IDX) + ininame + ".ini");
+ vconfig.Load(File::GetUserPath(D_CONFIG_IDX) + "GFX.ini");
wxNotebook* const notebook = new wxNotebook(this, wxID_ANY);