RetroArch/retroarch_fwd_decls.h

81 lines
2.7 KiB
C
Raw Normal View History

#ifndef _RETROARCH_FWD_DECLS_H
#define _RETROARCH_FWD_DECLS_H
static void retroarch_fail(struct rarch_state *p_rarch,
int error_code, const char *error);
static void ui_companion_driver_toggle(
struct rarch_state *p_rarch,
bool desktop_menu_enable,
bool ui_companion_toggle,
bool force);
#ifdef HAVE_LIBNX
void libnx_apply_overclock(void);
#endif
#ifdef HAVE_ACCESSIBILITY
#ifdef HAVE_TRANSLATE
static bool is_narrator_running(struct rarch_state *p_rarch, bool accessibility_enable);
#endif
#endif
2021-03-14 01:11:36 +00:00
static void retroarch_deinit_drivers(struct rarch_state *p_rarch,
struct retro_callbacks *cbs);
#ifdef HAVE_RUNAHEAD
#if defined(HAVE_DYNAMIC) || defined(HAVE_DYLIB)
2021-04-08 15:08:46 +00:00
static bool secondary_core_create(struct rarch_state *p_rarch,
runloop_state_t *runloop_st, settings_t *settings);
static void secondary_core_destroy(runloop_state_t *runloop_st);
static bool secondary_core_ensure_exists(struct rarch_state *p_rarch,
runloop_state_t *runloop_st, settings_t *settings);
#endif
static int16_t input_state_get_last(unsigned port,
unsigned device, unsigned index, unsigned id);
#endif
static void retro_frame_null(const void *data, unsigned width,
unsigned height, size_t pitch);
static void retro_run_null(void);
static void retro_input_poll_null(void);
2021-10-14 20:18:14 +00:00
static void runloop_apply_fastmotion_override(runloop_state_t *p_runloop, settings_t *settings);
static void uninit_libretro_symbols(
struct rarch_state *p_rarch,
struct retro_core_t *current_core);
static bool init_libretro_symbols(
struct rarch_state *p_rarch,
runloop_state_t *runloop_st,
enum rarch_core_type type,
struct retro_core_t *current_core);
static void ui_companion_driver_deinit(struct rarch_state *p_rarch);
static void ui_companion_driver_init_first(struct rarch_state *p_rarch);
static void driver_uninit(struct rarch_state *p_rarch, int flags);
static void drivers_init(struct rarch_state *p_rarch,
settings_t *settings,
int flags,
bool verbosity_enabled);
2021-10-14 19:35:38 +00:00
static bool core_load(unsigned poll_type_behavior);
static bool core_unload_game(void);
static void driver_camera_stop(void);
static bool driver_camera_start(void);
#ifdef HAVE_ACCESSIBILITY
2021-04-09 22:54:40 +00:00
static bool is_accessibility_enabled(bool accessibility_enable,
bool accessibility_enabled);
static bool accessibility_speak_priority(
struct rarch_state *p_rarch,
bool accessibility_enable,
unsigned accessibility_narrator_speech_speed,
const char* speak_text, int priority);
#endif
static const void *find_driver_nonempty(
const char *label, int i,
char *s, size_t len);
#endif