(libretro) Update core options to v2 format

This commit is contained in:
jdgleaver 2021-11-11 14:45:57 +00:00
parent e86583124e
commit 8b2f9d02f5
4 changed files with 1293 additions and 222 deletions

View file

@ -707,13 +707,15 @@ bool libretro_supports_bitmasks = false;
void retro_set_environment(retro_environment_t cb)
{
bool option_categories_supported;
#ifdef USE_LIBRETRO_VFS
struct retro_vfs_interface_info vfs_iface_info;
#endif
environ_cb = cb;
libretro_set_core_options(environ_cb);
libretro_set_core_options(environ_cb,
&option_categories_supported);
#ifdef USE_LIBRETRO_VFS
vfs_iface_info.required_interface_version = 1;