mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
Don't print a bogus number of bluetooth devices found.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5559 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
95edef2e0d
commit
66c480c86b
7
Externals/WiiUseSrc/Src/io_osx.m
vendored
7
Externals/WiiUseSrc/Src/io_osx.m
vendored
@ -224,8 +224,7 @@ void detectWiimote(int timeout) {
|
|||||||
*/
|
*/
|
||||||
int wiiuse_find(struct wiimote_t** wm, int max_wiimotes, int timeout) {
|
int wiiuse_find(struct wiimote_t** wm, int max_wiimotes, int timeout) {
|
||||||
|
|
||||||
int found_devices;
|
int found_wiimotes = 0;
|
||||||
int found_wiimotes;
|
|
||||||
|
|
||||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||||
|
|
||||||
@ -246,9 +245,9 @@ int wiiuse_find(struct wiimote_t** wm, int max_wiimotes, int timeout) {
|
|||||||
|
|
||||||
CFRunLoopRun();
|
CFRunLoopRun();
|
||||||
|
|
||||||
found_wiimotes = 0;
|
#if 0 /* XXX */
|
||||||
|
|
||||||
WIIUSE_INFO("Found %i bluetooth device(s).", found_devices);
|
WIIUSE_INFO("Found %i bluetooth device(s).", found_devices);
|
||||||
|
#endif
|
||||||
|
|
||||||
WIIMOTE_ENABLE_STATE(wm[found_wiimotes], WIIMOTE_STATE_DEV_FOUND);
|
WIIMOTE_ENABLE_STATE(wm[found_wiimotes], WIIMOTE_STATE_DEV_FOUND);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user