(PS3) ps3_input.c - cleanup

This commit is contained in:
twinaphex 2015-07-12 02:55:29 +02:00
parent 9e61a5ebf4
commit af752ba24b

View File

@ -176,12 +176,9 @@ static void* ps3_input_init(void)
static bool ps3_input_key_pressed(void *data, int key)
{
ps3_input_t *ps3 = (ps3_input_t*)data;
ps3_input_t *ps3 = (ps3_input_t*)data;
settings_t *settings = config_get_ptr();
if (!ps3)
return false;
return input_joypad_pressed(ps3->joypad, 0, settings->input.binds[0], key);
}