mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(Menu) Simplify call to menu_entries_push
This commit is contained in:
parent
3e7fb6d1e1
commit
20987f7d76
@ -1481,11 +1481,8 @@ static int menu_settings_iterate(unsigned action)
|
||||
menu_type == MENU_SETTINGS_DISK_APPEND ||
|
||||
menu_type == MENU_SETTINGS_OPEN_HISTORY))
|
||||
{
|
||||
bool ret = (menu_common_type_is(menu_type) == MENU_SETTINGS);
|
||||
driver.menu->need_refresh = false;
|
||||
RARCH_LOG("Goes here?\n");
|
||||
menu_entries_push(driver.menu, path, label,
|
||||
ret ? menu_type : MENU_SETTINGS);
|
||||
menu_entries_push(driver.menu, path, label, menu_type);
|
||||
}
|
||||
|
||||
if (driver.menu_ctx && driver.menu_ctx->render)
|
||||
|
Loading…
x
Reference in New Issue
Block a user