summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-07 16:38:40 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-07 16:38:40 +0100
commit5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3 (patch)
tree435e3b7d8d0c9b0a8e75bd97a34bbf446c0d9730 /src/core/Pad.cpp
parentsome lcs stuff (diff)
parentfail (diff)
downloadre3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar.gz
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar.bz2
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar.lz
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar.xz
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar.zst
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.zip
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r--src/core/Pad.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index 4a78e834..feda19c6 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -1692,12 +1692,11 @@ void CPad::UpdatePads(void)
bUpdate = false;
if ( bUpdate )
- {
GetPad(0)->Update(0);
- // GetPad(1)->Update(0); // not in VC
- }
-#if defined(MASTER) && !defined(XINPUT)
+#ifndef MASTER
+ GetPad(1)->Update(1);
+#else
GetPad(1)->NewState.Clear();
GetPad(1)->OldState.Clear();
#endif