mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Get rid of unnecessary conditional in menu_settings_iterate
This commit is contained in:
parent
71978000b4
commit
da821ead36
@ -282,9 +282,8 @@ static int menu_settings_iterate(unsigned action)
|
|||||||
|
|
||||||
driver.menu->frame_buf_pitch = driver.menu->width * 2;
|
driver.menu->frame_buf_pitch = driver.menu->width * 2;
|
||||||
|
|
||||||
if (action != MENU_ACTION_REFRESH)
|
file_list_get_at_offset(driver.menu->selection_buf,
|
||||||
file_list_get_at_offset(driver.menu->selection_buf,
|
driver.menu->selection_ptr, &path, &label, &type);
|
||||||
driver.menu->selection_ptr, &path, &label, &type);
|
|
||||||
|
|
||||||
if (driver.menu->need_refresh && action != MENU_ACTION_MESSAGE)
|
if (driver.menu->need_refresh && action != MENU_ACTION_MESSAGE)
|
||||||
action = MENU_ACTION_REFRESH;
|
action = MENU_ACTION_REFRESH;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user