mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Cleanup
This commit is contained in:
parent
b21f098119
commit
b909342e12
@ -843,8 +843,6 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case RUNLOOP_CTL_CHECK_STATE:
|
|
||||||
return runloop_check_state((event_cmd_state_t*)data, &runloop_shader_dir);
|
|
||||||
case RUNLOOP_CTL_CHECK_MOVIE:
|
case RUNLOOP_CTL_CHECK_MOVIE:
|
||||||
if (bsv_movie_ctl(BSV_MOVIE_CTL_PLAYBACK_ON, NULL))
|
if (bsv_movie_ctl(BSV_MOVIE_CTL_PLAYBACK_ON, NULL))
|
||||||
return runloop_check_movie_playback();
|
return runloop_check_movie_playback();
|
||||||
@ -1445,7 +1443,7 @@ int runloop_iterate(unsigned *sleep_ms)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!runloop_ctl(RUNLOOP_CTL_CHECK_STATE, &cmd))
|
if (!runloop_check_state(&cmd, &runloop_shader_dir))
|
||||||
{
|
{
|
||||||
/* RetroArch has been paused. */
|
/* RetroArch has been paused. */
|
||||||
core_poll();
|
core_poll();
|
||||||
|
@ -79,9 +79,6 @@ enum runloop_ctl_state
|
|||||||
RUNLOOP_CTL_KEY_EVENT_GET,
|
RUNLOOP_CTL_KEY_EVENT_GET,
|
||||||
RUNLOOP_CTL_DATA_DEINIT,
|
RUNLOOP_CTL_DATA_DEINIT,
|
||||||
|
|
||||||
/* Checks for state changes in this frame. */
|
|
||||||
RUNLOOP_CTL_CHECK_STATE,
|
|
||||||
|
|
||||||
RUNLOOP_CTL_CHECK_MOVIE,
|
RUNLOOP_CTL_CHECK_MOVIE,
|
||||||
|
|
||||||
RUNLOOP_CTL_CHECK_MOVIE_INIT,
|
RUNLOOP_CTL_CHECK_MOVIE_INIT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user