Merge pull request #9313 from jdgleaver/playlist-fix

(XMB/Ozone) Fix display of horizontal playlists
This commit is contained in:
Twinaphex 2019-08-16 18:46:55 +02:00 committed by GitHub
commit 66a8c21ddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5271,8 +5271,13 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
int ret = 0;
menu_handle_t *menu = menu_driver_get_ptr();
if (!menu)
return false;
/* TODO/FIXME
* We cannot perform a:
* if (!menu)
* return false;
* sanity check here, because menu_displaylist_ctl() can be
* called by menu driver init functions - i.e. we can legally
* reach this point before the menu has been created... */
disp_list.info = info;
disp_list.type = type;