mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Move more global variables and forward declarations up top
This commit is contained in:
parent
cc2d70f044
commit
24dd7409bc
24
retroarch.c
24
retroarch.c
@ -1973,6 +1973,8 @@ static char *secondary_library_path = NULL;
|
||||
static int g_ai_service_auto = 0;
|
||||
#endif
|
||||
|
||||
static unsigned gamepad_input_override = 0;
|
||||
|
||||
/* Forward declarations */
|
||||
static void retroarch_core_options_intl_init(const struct
|
||||
retro_core_options_intl *core_options_intl);
|
||||
@ -2040,6 +2042,15 @@ static void retroarch_overlay_init(void);
|
||||
static void retroarch_overlay_deinit(void);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_AUDIOMIXER
|
||||
static void audio_mixer_play_stop_sequential_cb(
|
||||
audio_mixer_sound_t *sound, unsigned reason);
|
||||
static void audio_mixer_play_stop_cb(
|
||||
audio_mixer_sound_t *sound, unsigned reason);
|
||||
static void audio_mixer_menu_stop_cb(
|
||||
audio_mixer_sound_t *sound, unsigned reason);
|
||||
#endif
|
||||
|
||||
static void video_driver_gpu_record_deinit(void);
|
||||
static retro_proc_address_t video_driver_get_proc_address(const char *sym);
|
||||
static uintptr_t video_driver_get_current_framebuffer(void);
|
||||
@ -19046,15 +19057,6 @@ size_t midi_driver_get_event_size(uint8_t status)
|
||||
|
||||
/* AUDIO */
|
||||
|
||||
#ifdef HAVE_AUDIOMIXER
|
||||
static void audio_mixer_play_stop_sequential_cb(
|
||||
audio_mixer_sound_t *sound, unsigned reason);
|
||||
static void audio_mixer_play_stop_cb(
|
||||
audio_mixer_sound_t *sound, unsigned reason);
|
||||
static void audio_mixer_menu_stop_cb(
|
||||
audio_mixer_sound_t *sound, unsigned reason);
|
||||
#endif
|
||||
|
||||
static enum resampler_quality audio_driver_get_resampler_quality(void)
|
||||
{
|
||||
settings_t *settings = configuration_settings;
|
||||
@ -24596,7 +24598,6 @@ static void mylist_destroy(MyList **list_p)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static void mylist_create(MyList **list_p, int initial_capacity,
|
||||
constructor_t constructor, destructor_t destructor)
|
||||
{
|
||||
@ -29676,9 +29677,6 @@ static bool accessibility_startup_message(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
static unsigned gamepad_input_override = 0;
|
||||
|
||||
unsigned get_gamepad_input_override(void)
|
||||
{
|
||||
return gamepad_input_override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user