From 449f56d6f8df7bd4bed267907286fac800519bbc Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sat, 17 Nov 2012 19:23:05 +0100 Subject: [PATCH] Fix analog stick stuck in Up --- Core/HLE/sceCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceCtrl.cpp b/Core/HLE/sceCtrl.cpp index 04b3107b70..c11ba05fdd 100644 --- a/Core/HLE/sceCtrl.cpp +++ b/Core/HLE/sceCtrl.cpp @@ -101,7 +101,7 @@ void __CtrlSetAnalog(float x, float y) if (x > 1.0f) x = 1.0f; if (y > 1.0f) y = 1.0f; if (x < -1.0f) x = -1.0f; - if (y > -1.0f) y = -1.0f; + if (y < -1.0f) y = -1.0f; ctrl.analog[0] = (u8)(x * 127.f + 128.f); ctrl.analog[1] = (u8)(y * 127.f + 128.f); }