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/DolphinWX/SoftwareVideoConfigDialog.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/DolphinWX/SoftwareVideoConfigDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp | 8 |
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); |
