mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
InputConfigDialog pass the device_cbox to the wiimote extension dialogs
This fixes a crash when trying to open the advanced input config dialog on the wiimote extensions. The device_cbox wasn't initialised and it should have been with the wiimote one.
This commit is contained in:
@ -6,9 +6,11 @@
|
||||
|
||||
#include "DolphinWX/Input/InputConfigDiag.h"
|
||||
|
||||
class wxComboBox;
|
||||
|
||||
class GuitarInputConfigDialog final : public InputConfigDialog
|
||||
{
|
||||
public:
|
||||
GuitarInputConfigDialog(wxWindow* parent, InputConfig& config, const wxString& name,
|
||||
int port_num = 0);
|
||||
wxComboBox* device_cbox_parent, int port_num = 0);
|
||||
};
|
||||
|
Reference in New Issue
Block a user