mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Fix hang on Linux Dolphin close when wiimotes are connected.
This commit is contained in:
parent
032013c4bc
commit
b8e66a48a1
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ void Wiimote::Close()
|
||||||
|
|
||||||
bool Wiimote::IsOpen() const
|
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)
|
int Wiimote::IORead(unsigned char *buf)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue