1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-05 09:48:42 +00:00

Build fix for --disable-menu (#13419)

This commit is contained in:
Cthulhu-throwaway 2021-12-26 11:18:57 -03:00 committed by GitHub
parent be650a790c
commit 9579810579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -5372,7 +5372,11 @@ void input_driver_collect_system_input(input_driver_state_t *input_st,
#endif /* HAVE_MENU */
input_keys_pressed(port,
#ifdef HAVE_MENU
menu_input_active,
#else
false,
#endif
block_delay,
loop_bits,
(const retro_keybind_set *)input_config_binds,

View File

@ -4938,6 +4938,7 @@ static void show_chat(const char *nick, const char *msg)
MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
}
#ifdef HAVE_MENU
static void send_chat(void *userdata, const char *line)
{
char msg[NETPLAY_CHAT_MAX_SIZE];
@ -4969,6 +4970,7 @@ static void send_chat(void *userdata, const char *line)
menu_input_dialog_end();
retroarch_menu_running_finished(false);
}
#endif
void netplay_input_chat(netplay_t *netplay)
{