summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-05-25 02:25:56 +0200
committerPierre Bourdon <delroth@gmail.com>2014-05-25 02:25:56 +0200
commit010ca048dff77340024987cfd341e82e0a02b879 (patch)
tree400da665833e14e87a2922bd6ec237666a8751f8 /Source
parentb584fcc86ca2f677488a8397c123c50f24c59b50 (diff)
parent728078bc090a29aba74882d33020029e8e0e6f6a (diff)
Merge pull request #408 from lioncash/bool
Use a bool instead of an int to represent the initialized state in IOWin.cpp
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/HW/WiimoteReal/IOWin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/WiimoteReal/IOWin.cpp b/Source/Core/Core/HW/WiimoteReal/IOWin.cpp
index 760f0b4d46..ec72599286 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<BTH_ADDR, std::time_t> g_connect_times;