mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanups
This commit is contained in:
parent
7a0f6c5653
commit
5e4beb311e
@ -210,9 +210,7 @@ static int action_iterate_menu_viewport(char *s, size_t len,
|
||||
settings_t *settings = config_get_ptr();
|
||||
struct retro_system_av_info *av_info = video_viewport_get_system_av_info();
|
||||
|
||||
if (!menu_list)
|
||||
return -1;
|
||||
if (!menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection))
|
||||
if (!menu_list || !menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection))
|
||||
return -1;
|
||||
|
||||
menu_list_get_last_stack(menu_list, NULL, NULL, &type, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user