mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Log appropriate controller index.
This commit is contained in:
parent
54961c0dbf
commit
4f27faf035
@ -969,7 +969,7 @@ bool rarch_environment_cb(unsigned cmd, void *data)
|
|||||||
const struct retro_controller_info *info = (const struct retro_controller_info*)data;
|
const struct retro_controller_info *info = (const struct retro_controller_info*)data;
|
||||||
for (i = 0; info[i].types; i++)
|
for (i = 0; info[i].types; i++)
|
||||||
{
|
{
|
||||||
RARCH_LOG("Controller port: %u\n", i);
|
RARCH_LOG("Controller port: %u\n", i + 1);
|
||||||
for (j = 0; j < info[i].num_types; j++)
|
for (j = 0; j < info[i].num_types; j++)
|
||||||
RARCH_LOG(" %s (ID: %u)\n", info[i].types[j].desc, info[i].types[j].id);
|
RARCH_LOG(" %s (ID: %u)\n", info[i].types[j].desc, info[i].types[j].id);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user