From 784a310da4a40e53e8143c8c9f6b689f972edad6 Mon Sep 17 00:00:00 2001 From: JoseAaronLopezGarcia Date: Tue, 22 Oct 2024 23:40:34 +0200 Subject: [PATCH] fix noanalog --- core/systemctrl/src/exitgame.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/core/systemctrl/src/exitgame.c b/core/systemctrl/src/exitgame.c index a65651fe..56af5c21 100644 --- a/core/systemctrl/src/exitgame.c +++ b/core/systemctrl/src/exitgame.c @@ -121,12 +121,15 @@ static void startExitThread(){ pspSdkSetK1(k1); } -static void remove_analog_input(SceCtrlData *data) +static void remove_analog_input(SceCtrlData *data, int count) { if(data == NULL) return; - data->Lx = 0xFF/2; - data->Ly = 0xFF/2; + + for (int i=0; i