rename CORE_CTL_RUN to CORE_CTL_RETRO_RUN

This commit is contained in:
twinaphex 2016-01-27 03:31:42 +01:00
parent d1ffd1f9cc
commit 489b578bf8
5 changed files with 5 additions and 5 deletions

View File

@ -171,7 +171,7 @@ bool core_ctl(enum core_ctl_state state, void *data)
{ {
switch (state) switch (state)
{ {
case CORE_CTL_RUN: case CORE_CTL_RETRO_RUN:
switch (core.poll_type) switch (core.poll_type)
{ {
case POLL_TYPE_EARLY: case POLL_TYPE_EARLY:

View File

@ -50,7 +50,7 @@ enum core_ctl_state
CORE_CTL_SET_CBS_REWIND, CORE_CTL_SET_CBS_REWIND,
/* Runs the core for one frame. */ /* Runs the core for one frame. */
CORE_CTL_RUN CORE_CTL_RETRO_RUN
}; };
typedef struct retro_callbacks typedef struct retro_callbacks

View File

@ -321,7 +321,7 @@ bool menu_display_ctl(enum menu_display_ctl_state state, void *data)
if (!libretro_input_is_blocked) if (!libretro_input_is_blocked)
input_driver_ctl(RARCH_INPUT_CTL_SET_LIBRETRO_INPUT_BLOCKED, NULL); input_driver_ctl(RARCH_INPUT_CTL_SET_LIBRETRO_INPUT_BLOCKED, NULL);
core_ctl(CORE_CTL_RUN, NULL); core_ctl(CORE_CTL_RETRO_RUN, NULL);
input_driver_ctl(RARCH_INPUT_CTL_UNSET_LIBRETRO_INPUT_BLOCKED, NULL); input_driver_ctl(RARCH_INPUT_CTL_UNSET_LIBRETRO_INPUT_BLOCKED, NULL);
return true; return true;

View File

@ -77,7 +77,7 @@ static void netplay_net_post_frame(netplay_t *netplay)
#if defined(HAVE_THREADS) && !defined(RARCH_CONSOLE) #if defined(HAVE_THREADS) && !defined(RARCH_CONSOLE)
lock_autosave(); lock_autosave();
#endif #endif
core_ctl(CORE_CTL_RUN, NULL); core_ctl(CORE_CTL_RETRO_RUN, NULL);
#if defined(HAVE_THREADS) && !defined(RARCH_CONSOLE) #if defined(HAVE_THREADS) && !defined(RARCH_CONSOLE)
unlock_autosave(); unlock_autosave();
#endif #endif

View File

@ -1423,7 +1423,7 @@ int runloop_iterate(unsigned *sleep_ms)
!input_driver_ctl(RARCH_INPUT_CTL_IS_NONBLOCK_STATE, NULL)) !input_driver_ctl(RARCH_INPUT_CTL_IS_NONBLOCK_STATE, NULL))
retro_sleep(settings->video.frame_delay); retro_sleep(settings->video.frame_delay);
core_ctl(CORE_CTL_RUN, NULL); core_ctl(CORE_CTL_RETRO_RUN, NULL);
#ifdef HAVE_CHEEVOS #ifdef HAVE_CHEEVOS
/* Test the achievements. */ /* Test the achievements. */