diff --git a/Source/Core/Core/HW/WiimoteReal/IOdarwin.h b/Source/Core/Core/HW/WiimoteReal/IOdarwin.h index ee0b4b9273..315b414d9d 100644 --- a/Source/Core/Core/HW/WiimoteReal/IOdarwin.h +++ b/Source/Core/Core/HW/WiimoteReal/IOdarwin.h @@ -18,7 +18,7 @@ public: void FindWiimotes(std::vector&, Wiimote*&) override; void Update() override {} // not needed private: - bool stopScanning = false; + bool m_stop_scanning = false; }; } // namespace WiimoteReal diff --git a/Source/Core/Core/HW/WiimoteReal/IOdarwin.mm b/Source/Core/Core/HW/WiimoteReal/IOdarwin.mm index a5b2891a32..d73719c002 100644 --- a/Source/Core/Core/HW/WiimoteReal/IOdarwin.mm +++ b/Source/Core/Core/HW/WiimoteReal/IOdarwin.mm @@ -23,7 +23,7 @@ namespace WiimoteReal { WiimoteScannerDarwin::~WiimoteScannerDarwin() { - stopScanning = true; + m_stop_scanning = true; } void WiimoteScannerDarwin::FindWiimotes(std::vector& found_wiimotes, @@ -60,7 +60,7 @@ void WiimoteScannerDarwin::FindWiimotes(std::vector& found_wiimotes, do { CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); - } while (!sbt->done && !stopScanning); + } while (!sbt->done && !m_stop_scanning); int found_devices = [[bti foundDevices] count];