diff options
author | aap <aap@papnet.eu> | 2020-06-24 19:11:33 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-24 19:11:33 +0200 |
commit | 077bcf1c8268f6ca04e5dcf093c7f0e07194cf23 (patch) | |
tree | 3eaf90fdcf3c6ffd22d67497082e6b56de963064 /src/core | |
parent | anim fix (diff) | |
download | re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar.gz re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar.bz2 re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar.lz re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar.xz re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar.zst re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Pad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp index 084fe888..56bc1431 100644 --- a/src/core/Pad.cpp +++ b/src/core/Pad.cpp @@ -1610,7 +1610,7 @@ int16 CPad::GetSteeringUpDown(void) case 2: { int16 axis = NewState.LeftStickY; - int16 dpad = (NewState.DPadUp - NewState.DPadDown) / 2; + int16 dpad = (NewState.DPadDown - NewState.DPadUp) / 2; if ( Abs(axis) > Abs(dpad) ) return axis; |