From 08f6ba8274b39ca9b0edc31f0b65e5182e0622cc Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Sat, 18 May 2013 22:29:51 +1200 Subject: [PATCH] I'm bad at mac.. sorry. Used the correct name string. --- Source/Core/Core/Src/HW/WiimoteReal/IOdarwin.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/WiimoteReal/IOdarwin.mm b/Source/Core/Core/Src/HW/WiimoteReal/IOdarwin.mm index 9f9192423c..4eac3ca5ff 100644 --- a/Source/Core/Core/Src/HW/WiimoteReal/IOdarwin.mm +++ b/Source/Core/Core/Src/HW/WiimoteReal/IOdarwin.mm @@ -162,7 +162,7 @@ void WiimoteScanner::FindWiimotes(std::vector & found_wiimotes, Wiimot Wiimote *wm = new Wiimote(); wm->btd = dev; - if(IsBalanceBoardName(name)) + if(IsBalanceBoardName([[dev name] UTF8String])) { found_board = wm; NOTICE_LOG(WIIMOTE, "Found balance board (%s).", bdaddr_str);