1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-05 09:48:42 +00:00

Fix input when the joypad driver is NULL.

This commit is contained in:
Gregor Richards 2018-06-01 23:22:04 -04:00
parent e4476ec61b
commit af357c1afe

View File

@ -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++)