1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-22 21:40:40 +00:00

runloop_key_event can be NULL - check first if non-NULL before

calling it
This commit is contained in:
twinaphex 2021-03-08 21:11:04 +01:00
parent 012b02635e
commit fa539c9563

@ -25708,7 +25708,8 @@ void input_keyboard_event(bool down, unsigned code,
}
(*key_event)(down, code, character, mod);
if (*key_event)
(*key_event)(down, code, character, mod);
}
}