Merge pull request #44 from jdgleaver/core-options-v2

(libretro) Update core options to v2 format
This commit is contained in:
irixxxx 2021-11-11 22:50:18 +01:00 committed by GitHub
commit 50587ccd1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;