mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 12:40:09 +00:00
Cleanups
This commit is contained in:
parent
b14ffa4562
commit
06cc175311
@ -82,17 +82,12 @@ static int menu_input_key_bind_set_mode_common(
|
|||||||
rarch_setting_t *setting)
|
rarch_setting_t *setting)
|
||||||
{
|
{
|
||||||
size_t selection;
|
size_t selection;
|
||||||
unsigned index_offset, bind_type;
|
unsigned bind_type = 0;
|
||||||
menu_displaylist_info_t info = {0};
|
menu_displaylist_info_t info = {0};
|
||||||
struct retro_keybind *keybind = NULL;
|
struct retro_keybind *keybind = NULL;
|
||||||
file_list_t *menu_stack = NULL;
|
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
unsigned index_offset = setting_get_index_offset(setting);
|
||||||
if (!setting)
|
file_list_t *menu_stack = menu_entries_get_menu_stack_ptr(0);
|
||||||
return -1;
|
|
||||||
|
|
||||||
index_offset = setting_get_index_offset(setting);
|
|
||||||
menu_stack = menu_entries_get_menu_stack_ptr(0);
|
|
||||||
|
|
||||||
menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection);
|
menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user