|
RetroArch
|
#include <boolean.h>#include <retro_common_api.h>#include <libretro.h>#include <dynamic/dylib.h>#include "core_type.h"Go to the source code of this file.
Classes | |
| struct | retro_core_t |
Macros | |
| #define | SUBSYSTEM_MAX_SUBSYSTEMS 20 |
| #define | SUBSYSTEM_MAX_SUBSYSTEM_ROMS 10 |
Functions | |
| RETRO_BEGIN_DECLS bool | libretro_get_system_info (const char *path, struct retro_system_info *info, bool *load_no_content) |
| void | libretro_free_system_info (struct retro_system_info *info) |
| const struct retro_subsystem_info * | libretro_find_subsystem_info (const struct retro_subsystem_info *info, unsigned num_info, const char *ident) |
| const struct retro_controller_description * | libretro_find_controller_description (const struct retro_controller_info *info, unsigned id) |
| bool | rarch_environment_cb (unsigned cmd, void *data) |
| bool | libretro_get_shared_context (void) |
| bool | init_libretro_sym (enum rarch_core_type type, struct retro_core_t *core) |
| bool | init_libretro_sym_custom (enum rarch_core_type type, struct retro_core_t *current_core, const char *lib_path, dylib_t *lib_handle_p) |
| void | uninit_libretro_sym (struct retro_core_t *core) |
Variables | |
| struct retro_subsystem_info | subsystem_data [SUBSYSTEM_MAX_SUBSYSTEMS] |
| struct retro_subsystem_rom_info | subsystem_data_roms [SUBSYSTEM_MAX_SUBSYSTEMS][SUBSYSTEM_MAX_SUBSYSTEM_ROMS] |
| unsigned | subsystem_current_count |
| #define SUBSYSTEM_MAX_SUBSYSTEM_ROMS 10 |
| #define SUBSYSTEM_MAX_SUBSYSTEMS 20 |
| bool init_libretro_sym | ( | enum rarch_core_type | type, |
| struct retro_core_t * | current_core | ||
| ) |
init_libretro_sym: : Type of core to be loaded. If CORE_TYPE_DUMMY, will load dummy symbols.
Initializes libretro symbols and setups environment callback functions. Returns true on success, or false if symbols could not be loaded.
| bool init_libretro_sym_custom | ( | enum rarch_core_type | type, |
| struct retro_core_t * | current_core, | ||
| const char * | lib_path, | ||
| dylib_t * | lib_handle_p | ||
| ) |
load_symbols: : Type of core to be loaded. If CORE_TYPE_DUMMY, will load dummy symbols.
Setup libretro callback symbols. Returns true on success, or false if symbols could not be loaded.
| const struct retro_controller_description* libretro_find_controller_description | ( | const struct retro_controller_info * | info, |
| unsigned | id | ||
| ) |
libretro_find_controller_description: : Pointer to controller info handle. : Identifier of controller to search for.
Search for a controller of type in .
Returns: controller description of found controller on success, otherwise NULL.
| const struct retro_subsystem_info* libretro_find_subsystem_info | ( | const struct retro_subsystem_info * | info, |
| unsigned | num_info, | ||
| const char * | ident | ||
| ) |
| void libretro_free_system_info | ( | struct retro_system_info * | info | ) |
libretro_free_system_info: : Pointer to system info information.
Frees system information.
| RETRO_BEGIN_DECLS bool libretro_get_system_info | ( | const char * | path, |
| struct retro_system_info * | info, | ||
| bool * | load_no_content | ||
| ) |
libretro_get_system_info: : Path to libretro library. : System info information. : 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).
libretro_get_system_info: : Path to libretro library. : Pointer to system info information. : 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).
rarch_environment_cb: : Identifier of command. : Pointer to data.
Environment callback function implementation.
Returns: true (1) if environment callback command could be performed, otherwise false (0).
| void uninit_libretro_sym | ( | struct retro_core_t * | current_core | ) |
uninit_libretro_sym:
Frees libretro core.
Frees all core options, associated state, and unbind all libretro callback symbols.
| unsigned subsystem_current_count |
| struct retro_subsystem_info subsystem_data[SUBSYSTEM_MAX_SUBSYSTEMS] |
| struct retro_subsystem_rom_info subsystem_data_roms[SUBSYSTEM_MAX_SUBSYSTEMS][SUBSYSTEM_MAX_SUBSYSTEM_ROMS] |
1.8.15