"Wait for the wiimote to connect"? I think that's a horrible idea.

This commit is contained in:
Jordan Woyak 2013-02-12 00:19:27 -06:00
parent a6461ca186
commit da53ca8ee3
1 changed files with 0 additions and 4 deletions

View File

@ -1355,10 +1355,6 @@ void CFrame::ConnectWiimote(int wm_idx, bool connect)
wxString msg(wxString::Format(wxT("Wiimote %i %s"), wm_idx + 1,
connect ? wxT("Connected") : wxT("Disconnected")));
Core::DisplayMessage(msg.ToAscii(), 3000);
// Wait for the wiimote to connect
while (GetUsbPointer()->AccessWiiMote(wm_idx | 0x100)->IsConnected() != connect)
{}
Host_UpdateMainFrame();
}
}