GSdx-dialog: Unused parameter on hacks dialog constructor

Apparently someone was careless enough to forget removing the parameter on the constructor which passes the adapter ID >_<
This commit is contained in:
Akash 2019-06-17 13:01:16 +05:30
parent 9acb871c7b
commit 4195b77fa3
2 changed files with 3 additions and 3 deletions

View File

@ -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}

View File

@ -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