mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +00:00
(NGC) Silence warnings
This commit is contained in:
parent
6c7e5f642c
commit
20fde53b3b
@ -776,6 +776,7 @@ static int setting_data_string_action_toggle_driver(void *data,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(HAVE_DYNAMIC) || defined(HAVE_LIBRETRO_MANAGEMENT)
|
||||
static int core_list_action_toggle(void *data, unsigned action, bool wraparound)
|
||||
{
|
||||
rarch_setting_t *setting = (rarch_setting_t *)data;
|
||||
@ -793,6 +794,15 @@ static int core_list_action_toggle(void *data, unsigned action, bool wraparound)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void core_list_change_handler(void *data)
|
||||
{
|
||||
rarch_setting_t *setting = (rarch_setting_t *)data;
|
||||
(void)setting;
|
||||
|
||||
rarch_main_command(RARCH_CMD_LOAD_CORE);
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* load_content_action_toggle:
|
||||
* @data : pointer to setting
|
||||
@ -3152,13 +3162,6 @@ static void settings_data_list_current_add_flags(
|
||||
setting_data_add_special_callbacks(list, list_info, values);
|
||||
}
|
||||
|
||||
static void core_list_change_handler(void *data)
|
||||
{
|
||||
rarch_setting_t *setting = (rarch_setting_t *)data;
|
||||
(void)setting;
|
||||
|
||||
rarch_main_command(RARCH_CMD_LOAD_CORE);
|
||||
}
|
||||
|
||||
/**
|
||||
* load_content_change_handler:
|
||||
|
Loading…
x
Reference in New Issue
Block a user