mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Add RUNLOOP_CTL_HAS_CORE_OPTIONS
This commit is contained in:
parent
86c6848281
commit
fee5d2a880
@ -3033,7 +3033,7 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
||||
info->need_push = true;
|
||||
break;
|
||||
case DISPLAYLIST_CORE_OPTIONS:
|
||||
if (system && system->core_options)
|
||||
if (runloop_ctl(RUNLOOP_CTL_HAS_CORE_OPTIONS, NULL))
|
||||
{
|
||||
size_t opts = core_option_size(system->core_options);
|
||||
|
||||
|
@ -521,6 +521,8 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
||||
sizeof(system->valid_extensions));
|
||||
system->block_extract = system->info.block_extract;
|
||||
break;
|
||||
case RUNLOOP_CTL_HAS_CORE_OPTIONS:
|
||||
return system && system->core_options;
|
||||
case RUNLOOP_CTL_SYSTEM_INFO_FREE:
|
||||
if (system->core_options)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user