mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 00:32:49 +00:00
Fix input when the joypad driver is NULL.
This commit is contained in:
parent
e4476ec61b
commit
af357c1afe
@ -1184,6 +1184,9 @@ void input_get_state_for_port(void *data, unsigned port, input_bits_t *p_new_sta
|
||||
BIT256_SET_PTR(p_new_state, i);
|
||||
}
|
||||
|
||||
if (!joypad_driver)
|
||||
return;
|
||||
|
||||
for (i = 0; i < 2; i++)
|
||||
{
|
||||
for (j = 0; j < 2; j++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user