mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
Fix some builds
This commit is contained in:
parent
0db409d5b5
commit
fc4081cd8f
15
retroarch.c
15
retroarch.c
@ -23367,17 +23367,12 @@ static void input_keys_pressed(
|
|||||||
const struct retro_keybind **binds,
|
const struct retro_keybind **binds,
|
||||||
const struct retro_keybind *binds_norm,
|
const struct retro_keybind *binds_norm,
|
||||||
const struct retro_keybind *binds_auto,
|
const struct retro_keybind *binds_auto,
|
||||||
|
const input_device_driver_t *joypad,
|
||||||
|
const input_device_driver_t *sec_joypad,
|
||||||
rarch_joypad_info_t *joypad_info)
|
rarch_joypad_info_t *joypad_info)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
input_driver_state_t *input_driver_st = &p_rarch->input_driver_state;
|
input_driver_state_t *input_driver_st = &p_rarch->input_driver_state;
|
||||||
#ifdef HAVE_MFI
|
|
||||||
const input_device_driver_t
|
|
||||||
*sec_joypad = input_driver_st->secondary_joypad;
|
|
||||||
#else
|
|
||||||
const input_device_driver_t
|
|
||||||
*sec_joypad = NULL;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (CHECK_INPUT_DRIVER_BLOCK_HOTKEY(binds_norm, binds_auto))
|
if (CHECK_INPUT_DRIVER_BLOCK_HOTKEY(binds_norm, binds_auto))
|
||||||
{
|
{
|
||||||
@ -33883,7 +33878,7 @@ void retroarch_menu_running(void)
|
|||||||
void retroarch_menu_running_finished(bool quit)
|
void retroarch_menu_running_finished(bool quit)
|
||||||
{
|
{
|
||||||
struct rarch_state *p_rarch = &rarch_st;
|
struct rarch_state *p_rarch = &rarch_st;
|
||||||
#ifdef HAVE_OVERLAY
|
#if defined(HAVE_MENU) || defined(HAVE_OVERLAY)
|
||||||
settings_t *settings = p_rarch->configuration_settings;
|
settings_t *settings = p_rarch->configuration_settings;
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
@ -35467,8 +35462,10 @@ static enum runloop_state runloop_check_state(
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
input_keys_pressed(port, menu_input_active, input_hotkey_block_delay, p_rarch,
|
input_keys_pressed(port,
|
||||||
|
menu_input_active, input_hotkey_block_delay, p_rarch,
|
||||||
¤t_bits, &binds, binds_norm, binds_auto,
|
¤t_bits, &binds, binds_norm, binds_auto,
|
||||||
|
joypad, sec_joypad,
|
||||||
&joypad_info);
|
&joypad_info);
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
|
@ -190,10 +190,6 @@ static const char **input_keyboard_start_line(
|
|||||||
void *userdata,
|
void *userdata,
|
||||||
struct input_keyboard_line *keyboard_line,
|
struct input_keyboard_line *keyboard_line,
|
||||||
input_keyboard_line_complete_t cb);
|
input_keyboard_line_complete_t cb);
|
||||||
|
|
||||||
static void menu_driver_list_free(
|
|
||||||
const menu_ctx_driver_t *menu_driver_ctx,
|
|
||||||
menu_ctx_list_t *list);
|
|
||||||
static int menu_input_post_iterate(
|
static int menu_input_post_iterate(
|
||||||
struct rarch_state *p_rarch,
|
struct rarch_state *p_rarch,
|
||||||
gfx_display_t *p_disp,
|
gfx_display_t *p_disp,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user