mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 23:06:40 +00:00
retroarch-joyconfig: Fix two printf specifiers
This commit is contained in:
parent
c5ebf22bfc
commit
a907ee634f
@ -112,7 +112,7 @@ static void get_binds(config_file_t *conf, config_file_t *auto_conf, int player,
|
||||
|
||||
if (!driver->query_pad(joypad))
|
||||
{
|
||||
fprintf(stderr, "Couldn't open joystick #%u.\n", joypad);
|
||||
fprintf(stderr, "Couldn't open joystick #%d.\n", joypad);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@ -203,7 +203,7 @@ static void get_binds(config_file_t *conf, config_file_t *auto_conf, int player,
|
||||
{
|
||||
if (new_poll.buttons[j] && !old_poll.buttons[j])
|
||||
{
|
||||
fprintf(stderr, "\tJoybutton pressed: %u\n", j);
|
||||
fprintf(stderr, "\tJoybutton pressed: %d\n", j);
|
||||
char key[64];
|
||||
snprintf(key, sizeof(key), "%s_%s_btn",
|
||||
input_config_get_prefix(player_index, input_config_bind_map[i].meta), input_config_bind_map[i].base);
|
||||
|
Loading…
Reference in New Issue
Block a user