(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();
|
current = rarch_get_time_usec();
|
||||||
timeout = (menu->binds.timeout_end - current) / 1000000;
|
timeout = (menu->binds.timeout_end - current) / 1000000;
|
||||||
|
|
||||||
|
if (bind_mode_kb)
|
||||||
snprintf(msg, sizeof(msg),
|
snprintf(msg, sizeof(msg),
|
||||||
bind_mode_kb ? "[%s]\npress keyboard\n(timeout %d seconds)" :
|
"[%s]\npress keyboard\n(timeout %d seconds)",
|
||||||
"[%s]\npress joypad\n(RETURN to skip)",
|
|
||||||
input_config_bind_map[
|
input_config_bind_map[
|
||||||
menu->binds.begin - MENU_SETTINGS_BIND_BEGIN].desc,
|
menu->binds.begin - MENU_SETTINGS_BIND_BEGIN].desc,
|
||||||
timeout);
|
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);
|
menu_driver_render_messagebox(msg);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue