diff --git a/dynamic.h b/dynamic.h index 7e8e2d787a..f403b89fa4 100644 --- a/dynamic.h +++ b/dynamic.h @@ -26,21 +26,6 @@ RETRO_BEGIN_DECLS -/** - * libretro_get_system_info: - * @path : Path to libretro library. - * @info : System info information. - * @load_no_content : If true, core should be able to auto-start - * without any content loaded. - * - * Gets system info from an arbitrary lib. - * The struct returned must be freed as strings are allocated dynamically. - * - * Returns: true (1) if successful, otherwise false (0). - **/ -bool libretro_get_system_info(const char *path, - struct retro_system_info *info, bool *load_no_content); - /** * libretro_free_system_info: * @info : Pointer to system info information. diff --git a/retroarch.c b/retroarch.c index 578771708a..0b98a569e6 100644 --- a/retroarch.c +++ b/retroarch.c @@ -3580,6 +3580,9 @@ static void retroarch_system_info_free(void) memset(&runloop_system, 0, sizeof(rarch_system_info_t)); } +static bool libretro_get_system_info(const char *path, + struct retro_system_info *info, bool *load_no_content); + /** * command_event: * @cmd : Event command index. @@ -7502,7 +7505,7 @@ static dylib_t libretro_get_system_info_lib(const char *path, * * Returns: true (1) if successful, otherwise false (0). **/ -bool libretro_get_system_info(const char *path, +static bool libretro_get_system_info(const char *path, struct retro_system_info *info, bool *load_no_content) { struct retro_system_info dummy_info;