mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +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_DISK_APPEND ||
|
||||||
menu_type == MENU_SETTINGS_OPEN_HISTORY))
|
menu_type == MENU_SETTINGS_OPEN_HISTORY))
|
||||||
{
|
{
|
||||||
bool ret = (menu_common_type_is(menu_type) == MENU_SETTINGS);
|
|
||||||
driver.menu->need_refresh = false;
|
driver.menu->need_refresh = false;
|
||||||
RARCH_LOG("Goes here?\n");
|
menu_entries_push(driver.menu, path, label, menu_type);
|
||||||
menu_entries_push(driver.menu, path, label,
|
|
||||||
ret ? menu_type : MENU_SETTINGS);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (driver.menu_ctx && driver.menu_ctx->render)
|
if (driver.menu_ctx && driver.menu_ctx->render)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user