From 5a59542679d1b3d230392fe5c0147659818d3ab8 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Thu, 5 Nov 2020 16:38:41 +0200 Subject: Fix inverted vertical camera --- src/core/Pad.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/core/Pad.cpp') diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp index b723eb1d..6752c1c5 100644 --- a/src/core/Pad.cpp +++ b/src/core/Pad.cpp @@ -3222,6 +3222,9 @@ int16 CPad::SniperModeLookUpDown(void) int16 axis = NewState.LeftStickY; int16 dpad; +#ifdef FIX_BUGS + axis = -axis; +#endif if (CPad::bInvertLook4Pad) { axis = -axis; dpad = (NewState.DPadDown - NewState.DPadUp) / 2; @@ -3257,7 +3260,9 @@ int16 CPad::LookAroundLeftRight(void) int16 CPad::LookAroundUpDown(void) { int16 axis = GetPad(0)->NewState.RightStickY; - +#ifdef FIX_BUGS + axis = -axis; +#endif if (CPad::bInvertLook4Pad) axis = -axis; -- cgit v1.2.3