mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Don't 0-index device numbers!
This commit is contained in:
parent
f7dba84c67
commit
dc9ee8c6bc
@ -617,7 +617,7 @@ static void announce_play_spectate(netplay_t *netplay,
|
||||
sizeof(device_str) - 1 - device_str_len, ", ");
|
||||
device_str_len += snprintf(device_str + device_str_len,
|
||||
sizeof(device_str) - 1 - device_str_len, "%u",
|
||||
(unsigned) device);
|
||||
(unsigned) (device+1));
|
||||
}
|
||||
|
||||
/* Then we make the final string */
|
||||
|
Loading…
x
Reference in New Issue
Block a user