Merge pull request #5878 from iwubcode/wiimote_size_fix
Fix array out of bounds error for connected wiimotes
This commit is contained in:
commit
962d5a5973
|
@ -23,7 +23,7 @@
|
||||||
#include "InputCommon/InputConfig.h"
|
#include "InputCommon/InputConfig.h"
|
||||||
|
|
||||||
// Limit the amount of wiimote connect requests, when a button is pressed in disconnected state
|
// 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
|
namespace Wiimote
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue