Merge pull request #5878 from iwubcode/wiimote_size_fix

Fix array out of bounds error for connected wiimotes
This commit is contained in:
Leo Lam 2017-08-04 13:42:18 +08:00 committed by GitHub
commit 962d5a5973
1 changed files with 1 additions and 1 deletions

View File

@ -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
{