aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTwinaphex2016-06-18 19:15:13 +0200
committerGitHub2016-06-18 19:15:13 +0200
commit10ed51a07184f5235e1c85cd9995aaa1481e0dca (patch)
treef973933600949b9c5e4bc63f63bc2df075c08a33 /plugins
parent05311a18fb23799776f9552614ef4c5fb5d852fa (diff)
parent73d32d69496795050589cb845ddbd1a074ca3955 (diff)
downloadpcsx_rearmed-10ed51a07184f5235e1c85cd9995aaa1481e0dca.tar.gz
pcsx_rearmed-10ed51a07184f5235e1c85cd9995aaa1481e0dca.tar.bz2
pcsx_rearmed-10ed51a07184f5235e1c85cd9995aaa1481e0dca.zip
Merge pull request #47 from alexis-puska/master
Suppress segmentation fault and crazy integer value.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dfinput/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/dfinput/main.c b/plugins/dfinput/main.c
index c3adedd..ee4625c 100644
--- a/plugins/dfinput/main.c
+++ b/plugins/dfinput/main.c
@@ -58,9 +58,12 @@ void dfinput_activate(void)
{
PadDataS pad;
+ pad.portMultitap = -1;
+ pad.requestPadIndex = 0;
PAD1_readPort1(&pad);
select_pad(1);
+ pad.requestPadIndex = 1;
PAD2_readPort2(&pad);
select_pad(2);
}