From 74755e593900e75a196590d560fc158b34be64de Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Wed, 23 Jun 2021 04:01:42 -0400 Subject: [PATCH] WiimoteScannerDarwin: Rename stopScanning for code style compliance --- Source/Core/Core/HW/WiimoteReal/IOdarwin.h | 2 +- Source/Core/Core/HW/WiimoteReal/IOdarwin.mm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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];