(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;
|
unsigned i;
|
||||||
char tmp[256];
|
char tmp[256];
|
||||||
rarch_setting_t *current_setting = NULL;
|
|
||||||
rarch_setting_t *setting_data = (rarch_setting_t *)setting_data_get_list();
|
rarch_setting_t *setting_data = (rarch_setting_t *)setting_data_get_list();
|
||||||
|
|
||||||
switch (menu_type)
|
switch (menu_type)
|
||||||
|
|
|
@ -449,8 +449,8 @@ static void rgui_render(void)
|
||||||
file_list_get_at_offset(driver.menu->selection_buf, i, &path, &type);
|
file_list_get_at_offset(driver.menu->selection_buf, i, &path, &type);
|
||||||
rarch_setting_t *setting = (rarch_setting_t*)setting_data_find_setting(
|
rarch_setting_t *setting = (rarch_setting_t*)setting_data_find_setting(
|
||||||
setting_data_get_list(), driver.menu->selection_buf->list[i].label);
|
setting_data_get_list(), driver.menu->selection_buf->list[i].label);
|
||||||
|
|
||||||
unsigned w = 19;
|
unsigned w = 19;
|
||||||
|
(void)setting;
|
||||||
if (menu_type == MENU_SETTINGS_PERFORMANCE_COUNTERS)
|
if (menu_type == MENU_SETTINGS_PERFORMANCE_COUNTERS)
|
||||||
w = 28;
|
w = 28;
|
||||||
else if (menu_type == MENU_SETTINGS_INPUT_OPTIONS || menu_type == MENU_SETTINGS_CUSTOM_BIND || menu_type == MENU_SETTINGS_CUSTOM_BIND_KEYBOARD)
|
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)
|
void menu_flush_stack_type(unsigned final_type)
|
||||||
{
|
{
|
||||||
unsigned type = 0;
|
unsigned type = 0;
|
||||||
rarch_setting_t *setting = NULL;
|
|
||||||
|
|
||||||
if (!driver.menu)
|
if (!driver.menu)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue