Make the refresh button on the Wiimote New plugin add new wiimotes in linux, instead...
commitaed663311032b7c9a0d10184de57dc3b05a61834
authorglennricster@gmail.com <glennricster@gmail.com@8ced0084-cf51-0410-be5f-012b33b47a6e>
Wed, 7 Jul 2010 02:19:16 +0000 (7 02:19 +0000)
committerglennricster@gmail.com <glennricster@gmail.com@8ced0084-cf51-0410-be5f-012b33b47a6e>
Wed, 7 Jul 2010 02:19:16 +0000 (7 02:19 +0000)
tree667366a54dc3a96fe9ec0bf962738b2cb84f22d0
parente74f7428d85ff37e65ec1461d213f6aa33156eb6
Make the refresh button on the Wiimote New plugin add new wiimotes in linux, instead of disconnecting and reconnecting those that were already connected.  This makes it possible to connect new wiimotes during a game by openning the wiimote configuration dialog and refreshing.  You still need to tell dolphin that a new wiimote is connected using Ctrl+F5-F8 or the corresponding menu entries.

Also fixed a segmentation fault caused by the UDP Wiimote stuff when a thread was not properly ended.

git-svn-id: http://dolphin-emu.googlecode.com/svn/trunk@5847 8ced0084-cf51-0410-be5f-012b33b47a6e
Externals/WiiUseSrc/Src/io_nix.c
Externals/WiiUseSrc/Src/wiiuse.h
Source/Core/InputCommon/Src/UDPWiimote.cpp
Source/Plugins/Plugin_WiimoteNew/Src/WiimoteReal/WiimoteReal.cpp