From 30cb2e4c07c8ec233da0f5f276f7e4de6fbe1a86 Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 8 Jun 2011 17:55:32 +0200 Subject: [PATCH] Slight cleanup. --- gfx/py_state/py_state.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/py_state/py_state.c b/gfx/py_state/py_state.c index 0e6e9d67ed..18b4e931ee 100644 --- a/gfx/py_state/py_state.c +++ b/gfx/py_state/py_state.c @@ -79,8 +79,7 @@ static PyObject* py_read_input(PyObject *self, PyObject *args) for (int i = 0; i < MAX_PLAYERS; i++) binds[i] = g_settings.input.binds[i]; - int16_t res = 0; - res = driver.input->input_state(driver.input_data, + int16_t res = driver.input->input_state(driver.input_data, binds, player > 1, player > 2 ? SNES_DEVICE_MULTITAP : SNES_DEVICE_JOYPAD, player > 2 ? player - 2 : 0,