mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Merge pull request #6855 from GregorR/null-input-joypad-driver
Fix input when the joypad driver is NULL.
This commit is contained in:
commit
6ecf64d08f
@ -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