mirror of
https://github.com/libretro/RetroArch
synced 2025-02-23 15:40:35 +00:00
runloop_key_event can be NULL - check first if non-NULL before
calling it
This commit is contained in:
parent
012b02635e
commit
fa539c9563
@ -25708,6 +25708,7 @@ void input_keyboard_event(bool down, unsigned code,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (*key_event)
|
||||||
(*key_event)(down, code, character, mod);
|
(*key_event)(down, code, character, mod);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user