This commit is contained in:
twinaphex 2016-05-08 07:00:28 +02:00
parent b21f098119
commit b909342e12
2 changed files with 1 additions and 6 deletions

View File

@ -843,8 +843,6 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
return false;
}
break;
case RUNLOOP_CTL_CHECK_STATE:
return runloop_check_state((event_cmd_state_t*)data, &runloop_shader_dir);
case RUNLOOP_CTL_CHECK_MOVIE:
if (bsv_movie_ctl(BSV_MOVIE_CTL_PLAYBACK_ON, NULL))
return runloop_check_movie_playback();
@ -1445,7 +1443,7 @@ int runloop_iterate(unsigned *sleep_ms)
}
#endif
if (!runloop_ctl(RUNLOOP_CTL_CHECK_STATE, &cmd))
if (!runloop_check_state(&cmd, &runloop_shader_dir))
{
/* RetroArch has been paused. */
core_poll();

View File

@ -79,9 +79,6 @@ enum runloop_ctl_state
RUNLOOP_CTL_KEY_EVENT_GET,
RUNLOOP_CTL_DATA_DEINIT,
/* Checks for state changes in this frame. */
RUNLOOP_CTL_CHECK_STATE,
RUNLOOP_CTL_CHECK_MOVIE,
RUNLOOP_CTL_CHECK_MOVIE_INIT,