From 728078bc090a29aba74882d33020029e8e0e6f6a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 24 May 2014 19:29:23 -0400 Subject: [PATCH] Use a bool instead of an int to represent the initialized state in IOWin.cpp --- Source/Core/Core/HW/WiimoteReal/IOWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/WiimoteReal/IOWin.cpp b/Source/Core/Core/HW/WiimoteReal/IOWin.cpp index 760f0b4d465e..ec72599286ca 100644 --- a/Source/Core/Core/HW/WiimoteReal/IOWin.cpp +++ b/Source/Core/Core/HW/WiimoteReal/IOWin.cpp @@ -71,7 +71,7 @@ PBth_BluetoothEnumerateInstalledServices Bth_BluetoothEnumerateInstalledServices HINSTANCE hid_lib = nullptr; HINSTANCE bthprops_lib = nullptr; -static int initialized = 0; +static bool initialized = false; std::unordered_map g_connect_times;