mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(menu_input.c) Prevent warning
This commit is contained in:
parent
0550280150
commit
cfe186a919
@ -514,12 +514,17 @@ int menu_input_bind_iterate(void)
|
||||
current = rarch_get_time_usec();
|
||||
timeout = (menu->binds.timeout_end - current) / 1000000;
|
||||
|
||||
if (bind_mode_kb)
|
||||
snprintf(msg, sizeof(msg),
|
||||
bind_mode_kb ? "[%s]\npress keyboard\n(timeout %d seconds)" :
|
||||
"[%s]\npress joypad\n(RETURN to skip)",
|
||||
"[%s]\npress keyboard\n(timeout %d seconds)",
|
||||
input_config_bind_map[
|
||||
menu->binds.begin - MENU_SETTINGS_BIND_BEGIN].desc,
|
||||
timeout);
|
||||
else
|
||||
snprintf(msg, sizeof(msg),
|
||||
"[%s]\npress joypad\n(RETURN to skip)",
|
||||
input_config_bind_map[
|
||||
menu->binds.begin - MENU_SETTINGS_BIND_BEGIN].desc);
|
||||
|
||||
menu_driver_render_messagebox(msg);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user