mirror of
https://github.com/libretro/RetroArch
synced 2025-03-22 16:20:58 +00:00
Rename RUNLOOP_CTL_COREOPTS_GET
This commit is contained in:
parent
01777ac500
commit
73cc9c4b15
@ -1256,7 +1256,7 @@ static void menu_action_setting_disp_set_label(file_list_t* list,
|
|||||||
core_option_manager_t *coreopts = NULL;
|
core_option_manager_t *coreopts = NULL;
|
||||||
const char *core_opt = NULL;
|
const char *core_opt = NULL;
|
||||||
|
|
||||||
if (runloop_ctl(RUNLOOP_CTL_COREOPTS_GET, &coreopts))
|
if (runloop_ctl(RUNLOOP_CTL_CORE_OPTIONS_LIST_GET, &coreopts))
|
||||||
{
|
{
|
||||||
core_opt = core_option_manager_get_val(coreopts,
|
core_opt = core_option_manager_get_val(coreopts,
|
||||||
type - MENU_SETTINGS_CORE_OPTION_START);
|
type - MENU_SETTINGS_CORE_OPTION_START);
|
||||||
|
@ -258,7 +258,7 @@ static int action_start_core_setting(unsigned type,
|
|||||||
unsigned idx = type - MENU_SETTINGS_CORE_OPTION_START;
|
unsigned idx = type - MENU_SETTINGS_CORE_OPTION_START;
|
||||||
core_option_manager_t *coreopts = NULL;
|
core_option_manager_t *coreopts = NULL;
|
||||||
|
|
||||||
if (runloop_ctl(RUNLOOP_CTL_COREOPTS_GET, &coreopts))
|
if (runloop_ctl(RUNLOOP_CTL_CORE_OPTIONS_LIST_GET, &coreopts))
|
||||||
core_option_manager_set_default(coreopts, idx);
|
core_option_manager_set_default(coreopts, idx);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -3930,7 +3930,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
|||||||
{
|
{
|
||||||
core_option_manager_t *coreopts = NULL;
|
core_option_manager_t *coreopts = NULL;
|
||||||
|
|
||||||
runloop_ctl(RUNLOOP_CTL_COREOPTS_GET, &coreopts);
|
runloop_ctl(RUNLOOP_CTL_CORE_OPTIONS_LIST_GET, &coreopts);
|
||||||
|
|
||||||
for (i = 0; i < opts; i++)
|
for (i = 0; i < opts; i++)
|
||||||
menu_entries_add(info->list,
|
menu_entries_add(info->list,
|
||||||
|
@ -776,7 +776,7 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
|||||||
break;
|
break;
|
||||||
case RUNLOOP_CTL_HAS_CORE_OPTIONS:
|
case RUNLOOP_CTL_HAS_CORE_OPTIONS:
|
||||||
return runloop_core_options;
|
return runloop_core_options;
|
||||||
case RUNLOOP_CTL_COREOPTS_GET:
|
case RUNLOOP_CTL_CORE_OPTIONS_LIST_GET:
|
||||||
{
|
{
|
||||||
core_option_manager_t **coreopts = (core_option_manager_t**)data;
|
core_option_manager_t **coreopts = (core_option_manager_t**)data;
|
||||||
if (!coreopts)
|
if (!coreopts)
|
||||||
|
@ -91,7 +91,7 @@ enum runloop_ctl_state
|
|||||||
RUNLOOP_CTL_HAS_CORE_OPTIONS,
|
RUNLOOP_CTL_HAS_CORE_OPTIONS,
|
||||||
RUNLOOP_CTL_GET_CORE_OPTION_SIZE,
|
RUNLOOP_CTL_GET_CORE_OPTION_SIZE,
|
||||||
RUNLOOP_CTL_IS_CORE_OPTION_UPDATED,
|
RUNLOOP_CTL_IS_CORE_OPTION_UPDATED,
|
||||||
RUNLOOP_CTL_COREOPTS_GET,
|
RUNLOOP_CTL_CORE_OPTIONS_LIST_GET,
|
||||||
RUNLOOP_CTL_CORE_OPTION_PREV,
|
RUNLOOP_CTL_CORE_OPTION_PREV,
|
||||||
RUNLOOP_CTL_CORE_OPTION_NEXT,
|
RUNLOOP_CTL_CORE_OPTION_NEXT,
|
||||||
RUNLOOP_CTL_CORE_OPTIONS_GET,
|
RUNLOOP_CTL_CORE_OPTIONS_GET,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user