mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(Menu) Cleanups
This commit is contained in:
parent
0bc916a7e0
commit
076ee20fa9
@ -67,7 +67,6 @@ static void menu_common_entries_init(menu_handle_t *menu, unsigned menu_type)
|
||||
{
|
||||
unsigned i;
|
||||
char tmp[256];
|
||||
rarch_setting_t *current_setting = NULL;
|
||||
rarch_setting_t *setting_data = (rarch_setting_t *)setting_data_get_list();
|
||||
|
||||
switch (menu_type)
|
||||
|
@ -449,8 +449,8 @@ static void rgui_render(void)
|
||||
file_list_get_at_offset(driver.menu->selection_buf, i, &path, &type);
|
||||
rarch_setting_t *setting = (rarch_setting_t*)setting_data_find_setting(
|
||||
setting_data_get_list(), driver.menu->selection_buf->list[i].label);
|
||||
|
||||
unsigned w = 19;
|
||||
(void)setting;
|
||||
if (menu_type == MENU_SETTINGS_PERFORMANCE_COUNTERS)
|
||||
w = 28;
|
||||
else if (menu_type == MENU_SETTINGS_INPUT_OPTIONS || menu_type == MENU_SETTINGS_CUSTOM_BIND || menu_type == MENU_SETTINGS_CUSTOM_BIND_KEYBOARD)
|
||||
|
@ -368,7 +368,6 @@ void menu_ticker_line(char *buf, size_t len, unsigned index,
|
||||
void menu_flush_stack_type(unsigned final_type)
|
||||
{
|
||||
unsigned type = 0;
|
||||
rarch_setting_t *setting = NULL;
|
||||
|
||||
if (!driver.menu)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user