Log appropriate controller index.

This commit is contained in:
Themaister 2014-04-12 19:06:37 +02:00
parent 54961c0dbf
commit 4f27faf035

View File

@ -969,7 +969,7 @@ bool rarch_environment_cb(unsigned cmd, void *data)
const struct retro_controller_info *info = (const struct retro_controller_info*)data;
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++)
RARCH_LOG(" %s (ID: %u)\n", info[i].types[j].desc, info[i].types[j].id);
}