mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Remove another RUNLOOP_CTL_ action
This commit is contained in:
parent
d0a1c8609f
commit
830f64446b
@ -145,7 +145,7 @@ void runloop_msg_queue_push(const char *msg,
|
||||
#endif
|
||||
|
||||
if (flush)
|
||||
runloop_ctl(RUNLOOP_CTL_MSG_QUEUE_CLEAR, NULL);
|
||||
msg_queue_clear(runloop_msg_queue);
|
||||
|
||||
msg_info.msg = msg;
|
||||
msg_info.prio = prio;
|
||||
@ -509,9 +509,6 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
||||
slock_unlock(_runloop_msg_queue_lock);
|
||||
#endif
|
||||
break;
|
||||
case RUNLOOP_CTL_MSG_QUEUE_CLEAR:
|
||||
msg_queue_clear(runloop_msg_queue);
|
||||
break;
|
||||
case RUNLOOP_CTL_MSG_QUEUE_DEINIT:
|
||||
if (!runloop_msg_queue)
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user