mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Merge pull request #12079 from jdgleaver/manage-cores-fix
Ensure RARCH_CTL_CORE_OPTIONS_LIST_GET returns false if no core options are available
This commit is contained in:
commit
a535cd5d59
@ -35742,7 +35742,7 @@ bool rarch_ctl(enum rarch_ctl_state state, void *data)
|
||||
case RARCH_CTL_CORE_OPTIONS_LIST_GET:
|
||||
{
|
||||
core_option_manager_t **coreopts = (core_option_manager_t**)data;
|
||||
if (!coreopts)
|
||||
if (!coreopts || !p_rarch->runloop_core_options)
|
||||
return false;
|
||||
*coreopts = p_rarch->runloop_core_options;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user