mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-20 09:52:33 +00:00
rename CORE_CTL_RUN to CORE_CTL_RETRO_RUN
This commit is contained in:
parent
d1ffd1f9cc
commit
489b578bf8
@ -171,7 +171,7 @@ bool core_ctl(enum core_ctl_state state, void *data)
|
||||
{
|
||||
switch (state)
|
||||
{
|
||||
case CORE_CTL_RUN:
|
||||
case CORE_CTL_RETRO_RUN:
|
||||
switch (core.poll_type)
|
||||
{
|
||||
case POLL_TYPE_EARLY:
|
||||
|
@ -50,7 +50,7 @@ enum core_ctl_state
|
||||
CORE_CTL_SET_CBS_REWIND,
|
||||
|
||||
/* Runs the core for one frame. */
|
||||
CORE_CTL_RUN
|
||||
CORE_CTL_RETRO_RUN
|
||||
};
|
||||
|
||||
typedef struct retro_callbacks
|
||||
|
@ -321,7 +321,7 @@ bool menu_display_ctl(enum menu_display_ctl_state state, void *data)
|
||||
if (!libretro_input_is_blocked)
|
||||
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);
|
||||
return true;
|
||||
|
@ -77,7 +77,7 @@ static void netplay_net_post_frame(netplay_t *netplay)
|
||||
#if defined(HAVE_THREADS) && !defined(RARCH_CONSOLE)
|
||||
lock_autosave();
|
||||
#endif
|
||||
core_ctl(CORE_CTL_RUN, NULL);
|
||||
core_ctl(CORE_CTL_RETRO_RUN, NULL);
|
||||
#if defined(HAVE_THREADS) && !defined(RARCH_CONSOLE)
|
||||
unlock_autosave();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user