mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
9acb871c7b
commit
4195b77fa3
|
@ -210,7 +210,7 @@ bool GSSettingsDlg::OnCommand(HWND hWnd, UINT id, UINT code)
|
||||||
std::string adapter_id;
|
std::string adapter_id;
|
||||||
if (ComboBoxGetSelData(IDC_ADAPTER, data))
|
if (ComboBoxGetSelData(IDC_ADAPTER, data))
|
||||||
adapter_id = (*m_current_adapters)[data].id;
|
adapter_id = (*m_current_adapters)[data].id;
|
||||||
GSHacksDlg(adapter_id).DoModal();
|
GSHacksDlg().DoModal();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case IDOK:
|
case IDOK:
|
||||||
|
@ -610,7 +610,7 @@ bool GSShaderDlg::OnMessage(UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
// Hacks Dialog
|
// Hacks Dialog
|
||||||
|
|
||||||
GSHacksDlg::GSHacksDlg(const std::string &adapter_id)
|
GSHacksDlg::GSHacksDlg()
|
||||||
: GSDialog{IDD_HACKS}
|
: GSDialog{IDD_HACKS}
|
||||||
, m_old_skipdraw_offset{0}
|
, m_old_skipdraw_offset{0}
|
||||||
, m_old_skipdraw{0}
|
, m_old_skipdraw{0}
|
||||||
|
|
|
@ -52,7 +52,7 @@ protected:
|
||||||
bool OnMessage(UINT message, WPARAM wParam, LPARAM lParam);
|
bool OnMessage(UINT message, WPARAM wParam, LPARAM lParam);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GSHacksDlg(const std::string &adapter_id);
|
GSHacksDlg();
|
||||||
};
|
};
|
||||||
|
|
||||||
class GSOSDDlg : public GSDialog
|
class GSOSDDlg : public GSDialog
|
||||||
|
|
Loading…
Reference in New Issue