|
RetroArch
|
#include <stdlib.h>#include <stdarg.h>#include <stdint.h>#include <string.h>#include <ctype.h>#include <errno.h>#include <setjmp.h>#include <math.h>#include <boolean.h>#include <string/stdstring.h>#include <lists/string_list.h>#include <retro_timers.h>#include <compat/strl.h>#include <compat/getopt.h>#include <audio/audio_mixer.h>#include <compat/posix_string.h>#include <streams/file_stream.h>#include <file/file_path.h>#include <retro_assert.h>#include <retro_miscellaneous.h>#include <queues/message_queue.h>#include <queues/task_queue.h>#include <features/features_cpu.h>#include "autosave.h"#include "config.features.h"#include "content.h"#include "core_type.h"#include "core_info.h"#include "dynamic.h"#include "driver.h"#include "input/input_driver.h"#include "msg_hash.h"#include "movie.h"#include "dirs.h"#include "paths.h"#include "file_path_special.h"#include "ui/ui_companion_driver.h"#include "verbosity.h"#include "frontend/frontend_driver.h"#include "audio/audio_driver.h"#include "camera/camera_driver.h"#include "record/record_driver.h"#include "core.h"#include "configuration.h"#include "list_special.h"#include "managers/core_option_manager.h"#include "managers/cheat_manager.h"#include "managers/state_manager.h"#include "tasks/tasks_internal.h"#include "performance_counters.h"#include "version.h"#include "version_git.h"#include "retroarch.h"#include "command.h"Classes | |
| struct | runloop_ctx_msg_info |
Macros | |
| #define | _PSUPP(var, name, desc) printf(" %s:\n\t\t%s: %s\n", name, desc, _##var##_supp ? "yes" : "no") |
| #define | FAIL_CPU(simd_type) |
| #define | DEFAULT_EXT "" |
| #define | SHADER_FILE_WATCH_DELAY_MSEC 500 |
| #define | HOLD_START_DELAY_SEC 2 |
| #define | FFMPEG_RECORD_ARG "r:" |
| #define | DYNAMIC_ARG |
| #define | NETPLAY_ARG |
| #define | BSV_MOVIE_ARG "P:R:M:" |
| #define | time_to_exit(quit_key_pressed) (runloop_shutdown_initiated || quit_key_pressed || !is_alive || bsv_movie_is_end_of_file() || ((runloop_max_frames != 0) && (frame_count >= runloop_max_frames)) || runloop_exec) |
| #define | runloop_check_cheevos() (settings->bools.cheevos_enable && cheevos_loaded && (!cheats_are_enabled && !cheats_were_enabled)) |
| #define | runloop_netplay_pause() ((void)0) |
Typedefs | |
| typedef struct runloop_ctx_msg_info | runloop_ctx_msg_info_t |
| #define _PSUPP | ( | var, | |
| name, | |||
| desc | |||
| ) | printf(" %s:\n\t\t%s: %s\n", name, desc, _##var##_supp ? "yes" : "no") |
| #define BSV_MOVIE_ARG "P:R:M:" |
| #define DEFAULT_EXT "" |
| #define DYNAMIC_ARG |
| #define FAIL_CPU | ( | simd_type | ) |
| #define FFMPEG_RECORD_ARG "r:" |
| #define HOLD_START_DELAY_SEC 2 |
| #define NETPLAY_ARG |
| #define runloop_check_cheevos | ( | ) | (settings->bools.cheevos_enable && cheevos_loaded && (!cheats_are_enabled && !cheats_were_enabled)) |
| #define runloop_netplay_pause | ( | ) | ((void)0) |
| #define SHADER_FILE_WATCH_DELAY_MSEC 500 |
| #define time_to_exit | ( | quit_key_pressed | ) | (runloop_shutdown_initiated || quit_key_pressed || !is_alive || bsv_movie_is_end_of_file() || ((runloop_max_frames != 0) && (frame_count >= runloop_max_frames)) || runloop_exec) |
| typedef struct runloop_ctx_msg_info runloop_ctx_msg_info_t |
| anonymous enum |
| enum runloop_state |
| bool rarch_ctl | ( | enum rarch_ctl_state | state, |
| void * | data | ||
| ) |
|
static |
rarch_game_specific_options:
Returns: true (1) if a game specific core options path has been found, otherwise false (0).
retroarch_fail: : Error code. : Error message to show.
Sanely kills the program.
| int retroarch_get_capabilities | ( | enum rarch_capabilities | type, |
| char * | s, | ||
| size_t | len | ||
| ) |
| char* retroarch_get_shader_preset | ( | void | ) |
| bool retroarch_main_init | ( | int | argc, |
| char * | argv[] | ||
| ) |
retroarch_main_init: : Count of (commandline) arguments. : (Commandline) arguments.
Initializes the program.
Returns: true on success, otherwise false if there was an error.
| bool retroarch_override_setting_is_set | ( | enum rarch_override_setting | enum_idx, |
| void * | data | ||
| ) |
| void retroarch_override_setting_set | ( | enum rarch_override_setting | enum_idx, |
| void * | data | ||
| ) |
| void retroarch_override_setting_unset | ( | enum rarch_override_setting | enum_idx, |
| void * | data | ||
| ) |
|
static |
retroarch_parse_input_and_config: : Count of (commandline) arguments. : (Commandline) arguments.
Parses (commandline) arguments passed to program and loads the config file, with command line options overriding the config file.
retroarch_print_help:
Prints help message explaining the program's commandline switches.
| void retroarch_set_current_core_type | ( | enum rarch_core_type | type, |
| bool | explicitly_set | ||
| ) |
|
static |
| struct retro_system_info* runloop_get_libretro_system_info | ( | void | ) |
| void runloop_get_status | ( | bool * | is_paused, |
| bool * | is_idle, | ||
| bool * | is_slowmotion, | ||
| bool * | is_perfcnt_enable | ||
| ) |
| rarch_system_info_t* runloop_get_system_info | ( | void | ) |
| int runloop_iterate | ( | unsigned * | sleep_ms | ) |
runloop_iterate:
Run Libretro core in RetroArch for one frame.
Returns: 0 on success, 1 if we have to wait until button input in order to wake up the loop, -1 if we forcibly quit out of the RetroArch iteration loop.
| void runloop_set | ( | enum runloop_action | action | ) |
| void runloop_unset | ( | enum runloop_action | action | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| bool input_driver_flushing_input |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.15