aboutsummaryrefslogtreecommitdiff
path: root/frontend/libretro.c
diff options
context:
space:
mode:
authoralexis-puska2016-05-12 01:45:26 +0200
committercbransden2016-05-13 18:29:58 +0100
commit29f3675b9b2f24b8a16db73588b8b04d628eabd8 (patch)
tree026cbda2436e123ae3fabb6285e84ee3e753cc70 /frontend/libretro.c
parentace14ab3172ad90809a3cc5e8fe67d5cac9e294b (diff)
downloadpcsx_rearmed-29f3675b9b2f24b8a16db73588b8b04d628eabd8.tar.gz
pcsx_rearmed-29f3675b9b2f24b8a16db73588b8b04d628eabd8.tar.bz2
pcsx_rearmed-29f3675b9b2f24b8a16db73588b8b04d628eabd8.zip
second implementation of multitap
add game/core option to enabled or disabled multitap. Test with micro machine V3 and 5 devices, 2 multitap enabled, all device react good i can’t test the 6 7 8 select player but i can select 8 gamer. The 2 multitap works fine. i detect a bug, when we change the game pad type to analog, the library crash, see it next time
Diffstat (limited to 'frontend/libretro.c')
-rw-r--r--frontend/libretro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 4486b95..361695c 100644
--- a/frontend/libretro.c
+++ b/frontend/libretro.c
@@ -58,8 +58,8 @@ int in_type[8];
int in_analog_left[8][2] = {{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 }};
int in_analog_right[8][2] = {{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 }};
unsigned short in_keystate[8];
-int multitap1;
-int multitap2;
+int multitap1 = 0;
+int multitap2 = 0;
int in_enable_vibration = 1;
/* PSX max resolution is 640x512, but with enhancement it's 1024x512 */