Remove some obsolete RUNLOOP_CTL_ actions

This commit is contained in:
twinaphex 2017-05-08 04:41:24 +02:00
parent 0eec872442
commit 5e7f175545
2 changed files with 0 additions and 15 deletions

View File

@ -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;

View File

@ -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,