diff --git a/runloop.c b/runloop.c index 439daf2d0d..1c6efc0e64 100644 --- a/runloop.c +++ b/runloop.c @@ -345,13 +345,9 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data) break; case RUNLOOP_CTL_IS_GAME_OPTIONS_ACTIVE: return runloop_game_options_active; - case RUNLOOP_CTL_IS_FRAME_TIME_LAST: - return runloop_frame_time_last_enable; case RUNLOOP_CTL_SET_FRAME_LIMIT: runloop_set_frame_limit = true; break; - case RUNLOOP_CTL_SHOULD_SET_FRAME_LIMIT: - return runloop_set_frame_limit; case RUNLOOP_CTL_GET_PERFCNT: { bool **perfcnt = (bool**)data; @@ -562,8 +558,6 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data) case RUNLOOP_CTL_SET_CORE_SHUTDOWN: runloop_core_shutdown_initiated = true; break; - case RUNLOOP_CTL_IS_CORE_SHUTDOWN: - return runloop_core_shutdown_initiated; case RUNLOOP_CTL_SET_SHUTDOWN: runloop_shutdown_initiated = true; break; @@ -572,8 +566,6 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data) case RUNLOOP_CTL_SET_EXEC: runloop_exec = true; break; - case RUNLOOP_CTL_IS_EXEC: - return runloop_exec; case RUNLOOP_CTL_DATA_DEINIT: task_queue_ctl(TASK_QUEUE_CTL_DEINIT, NULL); break; diff --git a/runloop.h b/runloop.h index 92220e64e8..7c734171ce 100644 --- a/runloop.h +++ b/runloop.h @@ -33,13 +33,11 @@ enum runloop_ctl_state RUNLOOP_CTL_NONE = 0, RUNLOOP_CTL_SET_FRAME_LIMIT, - RUNLOOP_CTL_SHOULD_SET_FRAME_LIMIT, RUNLOOP_CTL_TASK_INIT, RUNLOOP_CTL_FRAME_TIME_FREE, RUNLOOP_CTL_SET_FRAME_TIME_LAST, - RUNLOOP_CTL_IS_FRAME_TIME_LAST, RUNLOOP_CTL_SET_FRAME_TIME, RUNLOOP_CTL_IS_IDLE, @@ -71,13 +69,11 @@ enum runloop_ctl_state RUNLOOP_CTL_GLOBAL_FREE, RUNLOOP_CTL_SET_CORE_SHUTDOWN, - RUNLOOP_CTL_IS_CORE_SHUTDOWN, RUNLOOP_CTL_SET_SHUTDOWN, RUNLOOP_CTL_IS_SHUTDOWN, RUNLOOP_CTL_SET_EXEC, - RUNLOOP_CTL_IS_EXEC, /* Runloop state */ RUNLOOP_CTL_CLEAR_STATE,