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();
|
settings_t *settings = config_get_ptr();
|
||||||
struct retro_system_av_info *av_info = video_viewport_get_system_av_info();
|
struct retro_system_av_info *av_info = video_viewport_get_system_av_info();
|
||||||
|
|
||||||
if (!menu_list)
|
if (!menu_list || !menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection))
|
||||||
return -1;
|
|
||||||
if (!menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection))
|
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
menu_list_get_last_stack(menu_list, NULL, NULL, &type, NULL);
|
menu_list_get_last_stack(menu_list, NULL, NULL, &type, NULL);
|
||||||
|
|
Loading…
Reference in New Issue