summaryrefslogtreecommitdiff
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-30 07:44:51 +0300
committerSergeanur <s.anureev@yandex.ua>2020-06-30 07:44:51 +0300
commit6f81e84bd41056cbf38aeaf9b20bd4493a6ffc5f (patch)
treeb783a0a098bfc2e10520df5bc59dabc6c95cd9c4 /src/core/Pad.cpp
parent6cf698baddf2038eb14295a1d1658e8c432b9c73 (diff)
Restore original code of CControllerState::CheckForInput
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r--src/core/Pad.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index 99b9c8a8..97cc1786 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -518,9 +518,12 @@ void FlyingFishCheat(void)
bool
CControllerState::CheckForInput(void)
{
- return !!LeftStickX || !!LeftStickY || !!RightStickX || !!RightStickY || !!LeftShoulder1 || !!LeftShoulder2 || !!RightShoulder1 || !!RightShoulder2 ||
- !!DPadUp || !!DPadDown || !!DPadLeft || !!DPadRight || !!Start || !!Select || !!Square || !!Triangle || !!Cross || !!Circle || !!LeftShock ||
- !!RightShock;
+ return !!RightStickX || !!RightStickY || !!LeftStickX || !!LeftStickY
+ || !!DPadUp || !!DPadDown || !!DPadLeft || !!DPadRight
+ || !!Triangle || !!Cross || !!Circle || !!Square
+ || !!Start || !!Select
+ || !!LeftShoulder1 || !!LeftShoulder2 || !!RightShoulder1 || !!RightShoulder2
+ || !!LeftShock || !!RightShock;
}
void