diff --git a/plugins/GSdx/Window/GSSettingsDlg.cpp b/plugins/GSdx/Window/GSSettingsDlg.cpp index 1d51b4a768..376dd7a180 100644 --- a/plugins/GSdx/Window/GSSettingsDlg.cpp +++ b/plugins/GSdx/Window/GSSettingsDlg.cpp @@ -210,7 +210,7 @@ bool GSSettingsDlg::OnCommand(HWND hWnd, UINT id, UINT code) std::string adapter_id; if (ComboBoxGetSelData(IDC_ADAPTER, data)) adapter_id = (*m_current_adapters)[data].id; - GSHacksDlg(adapter_id).DoModal(); + GSHacksDlg().DoModal(); } break; case IDOK: @@ -610,7 +610,7 @@ bool GSShaderDlg::OnMessage(UINT message, WPARAM wParam, LPARAM lParam) // Hacks Dialog -GSHacksDlg::GSHacksDlg(const std::string &adapter_id) +GSHacksDlg::GSHacksDlg() : GSDialog{IDD_HACKS} , m_old_skipdraw_offset{0} , m_old_skipdraw{0} diff --git a/plugins/GSdx/Window/GSSettingsDlg.h b/plugins/GSdx/Window/GSSettingsDlg.h index ec0953b4ea..e560cb3d1a 100644 --- a/plugins/GSdx/Window/GSSettingsDlg.h +++ b/plugins/GSdx/Window/GSSettingsDlg.h @@ -52,7 +52,7 @@ protected: bool OnMessage(UINT message, WPARAM wParam, LPARAM lParam); public: - GSHacksDlg(const std::string &adapter_id); + GSHacksDlg(); }; class GSOSDDlg : public GSDialog