|
RetroArch
|
#include <stdarg.h>#include <string.h>#include <ctype.h>#include <boolean.h>#include <file/file_path.h>#include <compat/strl.h>#include <compat/posix_string.h>#include <dynamic/dylib.h>#include <string/stdstring.h>#include <retro_assert.h>#include <libretro.h>#include <vfs/vfs_implementation.h>#include <features/features_cpu.h>#include "dynamic.h"#include "command.h"#include "audio/audio_driver.h"#include "camera/camera_driver.h"#include "location/location_driver.h"#include "record/record_driver.h"#include "driver.h"#include "performance_counters.h"#include "gfx/video_driver.h"#include "led/led_driver.h"#include "midi/midi_driver.h"#include "cores/internal_cores.h"#include "content.h"#include "dirs.h"#include "paths.h"#include "retroarch.h"#include "configuration.h"#include "verbosity.h"#include "tasks/tasks_internal.h"Macros | |
| #define | VFS_FRONTEND |
| #define | SYMBOL(x) current_core->x = x |
| #define | SYMBOL_DUMMY(x) current_core->x = libretro_dummy_##x |
Variables | |
| static bool | ignore_environment_cb = false |
| static bool | core_set_shared_context = false |
| static bool * | load_no_content_hook = NULL |
| static char | current_library_name [1024] |
| static char | current_library_version [1024] |
| static char | current_valid_extensions [1024] |
| #define SYMBOL | ( | x | ) | current_core->x = x |
| #define SYMBOL_DUMMY | ( | x | ) | current_core->x = libretro_dummy_##x |
| #define VFS_FRONTEND |
|
static |
|
static |
|
static |
|
static |
| 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.
| 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. : 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).
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
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).
|
static |
| 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.
|
static |
|
static |
|
static |
1.8.15