From 7b4d48a69fd3f640c11f71da3bf994352315161f Mon Sep 17 00:00:00 2001 From: TwinAphex51224 Date: Mon, 5 Mar 2012 07:35:50 +0100 Subject: [PATCH] (PS3) Use MAX_PADS for input state array --- ps3/ps3_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ps3/ps3_input.c b/ps3/ps3_input.c index 433ef85f5a..a3a6ed2c91 100644 --- a/ps3/ps3_input.c +++ b/ps3/ps3_input.c @@ -26,11 +26,11 @@ #include -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); }