mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 17:10:12 +00:00
(PS3) Use MAX_PADS for input state array
This commit is contained in:
parent
bd500ae249
commit
7b4d48a69f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user