mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Fix hang on Linux Dolphin close when wiimotes are connected.
This commit is contained in:
@@ -215,7 +215,7 @@ void Wiimote::Close()
|
||||
|
||||
bool Wiimote::IsOpen() const
|
||||
{
|
||||
return cmd_sock != -1 && int_sock != -1;
|
||||
return IsConnected() && cmd_sock != -1 && int_sock != -1;
|
||||
}
|
||||
|
||||
int Wiimote::IORead(unsigned char *buf)
|
||||
|
||||
Reference in New Issue
Block a user