(PS3) Use MAX_PADS for input state array

This commit is contained in:
TwinAphex51224 2012-03-05 07:35:50 +01:00
parent bd500ae249
commit 7b4d48a69f

View File

@ -26,11 +26,11 @@
#include <stdlib.h>
static uint64_t state[5];
static uint64_t state[MAX_PADS];
static void ps3_input_poll(void *data)
{
(void)data;
for (unsigned i = 0; i < 5; i++)
for (unsigned i = 0; i < MAX_PADS; i++)
state[i] = cell_pad_input_poll_device(i);
}