mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Add RARCH_MENU_CTL_PLAYLIST_GET
This commit is contained in:
parent
280281e644
commit
5ce356c3fc
@ -666,6 +666,14 @@ bool menu_driver_ctl(enum rarch_menu_ctl_state state, void *data)
|
||||
menu_driver_data_own = false;
|
||||
menu_driver_ctx = NULL;
|
||||
break;
|
||||
case RARCH_MENU_CTL_PLAYLIST_GET:
|
||||
{
|
||||
content_playlist_t **playlist = (content_playlist_t**)data;
|
||||
if (!playlist || !menu_driver_data)
|
||||
return false;
|
||||
*playlist = menu_driver_data->playlist;
|
||||
}
|
||||
return true;
|
||||
case RARCH_MENU_CTL_SYSTEM_INFO_GET:
|
||||
{
|
||||
struct retro_system_info **system = (struct retro_system_info**)data;
|
||||
|
@ -115,7 +115,8 @@ enum rarch_menu_ctl_state
|
||||
RARCH_MENU_CTL_SET_LOAD_NO_CONTENT,
|
||||
RARCH_MENU_CTL_UNSET_LOAD_NO_CONTENT,
|
||||
RARCH_MENU_CTL_SYSTEM_INFO_DEINIT,
|
||||
RARCH_MENU_CTL_SYSTEM_INFO_GET
|
||||
RARCH_MENU_CTL_SYSTEM_INFO_GET,
|
||||
RARCH_MENU_CTL_PLAYLIST_GET
|
||||
};
|
||||
|
||||
typedef enum
|
||||
|
Loading…
Reference in New Issue
Block a user