Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix hang on Linux Dolphin close when wiimotes are connected.
  • Loading branch information
jordan-woyak committed Jan 14, 2013
1 parent 032013c commit b8e66a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/Src/HW/WiimoteReal/IONix.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit b8e66a4

Please sign in to comment.