diff --git a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp index dad72a6bdf..4f715c76eb 100644 --- a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp +++ b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp @@ -57,7 +57,13 @@ Wiimote::Wiimote(const unsigned int _index) #endif , leds(0), m_last_data_report(NULL), m_channel(0), m_connected(false) { -#if defined(__linux__) && HAVE_BLUEZ +#ifdef __APPLE__ + memset(queue, 0, sizeof queue); + reader = 0; + writer = 0; + outstanding = 0; + watermark = 0; +#elif defined(__linux__) && HAVE_BLUEZ bdaddr = (bdaddr_t){{0, 0, 0, 0, 0, 0}}; #endif