diff options
author | alexis-puska | 2016-12-19 22:42:46 +0100 |
---|---|---|
committer | alexis-puska | 2016-12-19 22:42:46 +0100 |
commit | 8342a30082638cc032c53e073f893e82f149fcb7 (patch) | |
tree | eb66251ede2a049684ca75bc370ba893464978cb | |
parent | ea4db4b5e14d27f9820cc72ecc7b244c1c2b9cb9 (diff) | |
download | pcsx_rearmed-8342a30082638cc032c53e073f893e82f149fcb7.tar.gz pcsx_rearmed-8342a30082638cc032c53e073f893e82f149fcb7.tar.bz2 pcsx_rearmed-8342a30082638cc032c53e073f893e82f149fcb7.zip |
fix multitap and analog
-rw-r--r-- | frontend/libretro.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c index 589f07c..08ef052 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -527,13 +527,13 @@ static void update_controller_port_variable(unsigned port) if (controller_port_variable(port, &var)) { if (strcmp(var.value, "standard") == 0) - in_type[0] = PSE_PAD_TYPE_STANDARD; + in_type[port] = PSE_PAD_TYPE_STANDARD; else if (strcmp(var.value, "analog") == 0) - in_type[0] = PSE_PAD_TYPE_ANALOGPAD; + in_type[port] = PSE_PAD_TYPE_ANALOGPAD; else if (strcmp(var.value, "negcon") == 0) - in_type[0] = PSE_PAD_TYPE_NEGCON; + in_type[port] = PSE_PAD_TYPE_NEGCON; else if (strcmp(var.value, "none") == 0) - in_type[0] = PSE_PAD_TYPE_NONE; + in_type[port] = PSE_PAD_TYPE_NONE; // else 'default' case, do nothing } } |