summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2017-08-04 00:32:20 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2017-08-04 00:32:20 -0500
commitbc3622c2a8ae64350ce3ad73e55e12afd97103ec (patch)
treee16a7d09ea004170d121db941b41b31c4be41cb1 /Source/Core
parentf274bbcbe14a5424120f985d8ad6968e656aeb13 (diff)
Fix the size of s_last_connect_request_counter to be 5 (wiimotes + balance board)
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/Wiimote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/Wiimote.cpp b/Source/Core/Core/HW/Wiimote.cpp
index e992cf2266..0e0d3f9f78 100644
--- a/Source/Core/Core/HW/Wiimote.cpp
+++ b/Source/Core/Core/HW/Wiimote.cpp
@@ -23,7 +23,7 @@
#include "InputCommon/InputConfig.h"
// Limit the amount of wiimote connect requests, when a button is pressed in disconnected state
-static std::array<u8, 4> s_last_connect_request_counter;
+static std::array<u8, MAX_BBMOTES> s_last_connect_request_counter;
namespace Wiimote
{