mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 00:40:09 +00:00
Prevent possible crash
This commit is contained in:
parent
761ece0f3c
commit
ca480ef459
@ -323,7 +323,8 @@ bool core_ctl(enum core_ctl_state state, void *data)
|
||||
core_input_polled = false;
|
||||
break;
|
||||
}
|
||||
core.retro_run();
|
||||
if (core.retro_run)
|
||||
core.retro_run();
|
||||
if (core_poll_type == POLL_TYPE_LATE && !core_input_polled)
|
||||
{
|
||||
input_poll();
|
||||
|
Loading…
x
Reference in New Issue
Block a user