Skip to content

Commit

Permalink
Merge pull request #5878 from iwubcode/wiimote_size_fix
Browse files Browse the repository at this point in the history
Fix array out of bounds error for connected wiimotes
  • Loading branch information
leoetlino committed Aug 4, 2017
2 parents f274bbc + bc3622c commit 962d5a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/HW/Wiimote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 962d5a5

Please sign in to comment.