mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(PS3) ps3_input.c - cleanup
This commit is contained in:
parent
9e61a5ebf4
commit
af752ba24b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user