mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-02 08:08:50 +00:00
Cleanup android_joypad_query_pad
This commit is contained in:
parent
a9f2959f4f
commit
dc7e8bc52b
@ -153,9 +153,7 @@ static void android_joypad_poll(void)
|
||||
|
||||
static bool android_joypad_query_pad(unsigned pad)
|
||||
{
|
||||
driver_t *driver = driver_get_ptr();
|
||||
android_input_t *android = driver ? (android_input_t*)driver->input_data : NULL;
|
||||
return (pad < MAX_USERS && pad < android->pads_connected);
|
||||
return (pad < MAX_USERS);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user