mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
(Menu) Small cleanups
This commit is contained in:
parent
e96074d452
commit
44703be456
@ -618,13 +618,8 @@ static int menu_common_iterate(unsigned action)
|
||||
case MENU_ACTION_LEFT:
|
||||
if (is_category)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
if (cbs && cbs->action_toggle)
|
||||
ret = cbs->action_toggle(type_offset, label_offset, action);
|
||||
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -639,13 +634,8 @@ static int menu_common_iterate(unsigned action)
|
||||
case MENU_ACTION_RIGHT:
|
||||
if (is_category)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
if (cbs && cbs->action_toggle)
|
||||
ret = cbs->action_toggle(type_offset, label_offset, action);
|
||||
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -676,6 +666,9 @@ static int menu_common_iterate(unsigned action)
|
||||
break;
|
||||
}
|
||||
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = mouse_post_iterate(cbs, path_offset, label_offset, type_offset, action);
|
||||
|
||||
if (driver.menu_ctx && driver.menu_ctx->iterate)
|
||||
|
Loading…
x
Reference in New Issue
Block a user