mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix RUNLOOP_CTL_FRONTEND_KEY_EVENT_GET
This commit is contained in:
parent
4995490588
commit
7924823b32
@ -1139,7 +1139,7 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
||||
case RUNLOOP_CTL_FRONTEND_KEY_EVENT_GET:
|
||||
{
|
||||
retro_keyboard_event_t **key_event = (retro_keyboard_event_t**)data;
|
||||
if (!key_event || !global)
|
||||
if (!key_event)
|
||||
return false;
|
||||
*key_event = &runloop_frontend_key_event;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user