mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-27 05:05:51 +00:00
Remove some obsolete RUNLOOP_CTL_ actions
This commit is contained in:
parent
0eec872442
commit
5e7f175545
11
runloop.c
11
runloop.c
@ -448,14 +448,6 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
||||
runloop_idle = *ptr;
|
||||
}
|
||||
break;
|
||||
case RUNLOOP_CTL_SET_SLOWMOTION:
|
||||
{
|
||||
bool *ptr = (bool*)data;
|
||||
if (!ptr)
|
||||
return false;
|
||||
runloop_slowmotion = *ptr;
|
||||
}
|
||||
break;
|
||||
case RUNLOOP_CTL_SET_PAUSED:
|
||||
{
|
||||
bool *ptr = (bool*)data;
|
||||
@ -517,9 +509,6 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
||||
break;
|
||||
case RUNLOOP_CTL_IS_SHUTDOWN:
|
||||
return runloop_shutdown_initiated;
|
||||
case RUNLOOP_CTL_SET_EXEC:
|
||||
runloop_exec = true;
|
||||
break;
|
||||
case RUNLOOP_CTL_DATA_DEINIT:
|
||||
task_queue_deinit();
|
||||
break;
|
||||
|
@ -68,8 +68,6 @@ enum runloop_ctl_state
|
||||
|
||||
RUNLOOP_CTL_SET_LIBRETRO_PATH,
|
||||
|
||||
RUNLOOP_CTL_SET_SLOWMOTION,
|
||||
|
||||
RUNLOOP_CTL_IS_PAUSED,
|
||||
RUNLOOP_CTL_SET_PAUSED,
|
||||
RUNLOOP_CTL_SET_MAX_FRAMES,
|
||||
@ -80,8 +78,6 @@ enum runloop_ctl_state
|
||||
RUNLOOP_CTL_SET_SHUTDOWN,
|
||||
RUNLOOP_CTL_IS_SHUTDOWN,
|
||||
|
||||
RUNLOOP_CTL_SET_EXEC,
|
||||
|
||||
/* Runloop state */
|
||||
RUNLOOP_CTL_CLEAR_STATE,
|
||||
RUNLOOP_CTL_STATE_FREE,
|
||||
|
Loading…
Reference in New Issue
Block a user