Change wiimote reconnect on button press code

This moves the reconnect logic into a single function, so the netplay code doesn't need to be written 2 times
This commit is contained in:
mimimi085181
2017-07-15 00:08:57 +02:00
parent a53f9f2df5
commit 8b1e61b00a
6 changed files with 47 additions and 47 deletions

View File

@ -76,6 +76,7 @@ ControllerEmu::ControlGroup* GetTurntableGroup(int number, WiimoteEmu::Turntable
void ControlChannel(int number, u16 channel_id, const void* data, u32 size);
void InterruptChannel(int number, u16 channel_id, const void* data, u32 size);
bool ButtonPressed(int number);
void Update(int number, bool connected);
}