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…
Reference in New Issue