From 4f27faf035fc8b0d73d8a57800b25e433c0aeac6 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 12 Apr 2014 19:06:37 +0200 Subject: [PATCH] Log appropriate controller index. --- dynamic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic.c b/dynamic.c index c65604a91d..92b4531749 100644 --- a/dynamic.c +++ b/dynamic.c @@ -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); }