Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAaronLopezGarcia committed Oct 2, 2024
1 parent 67e2161 commit b5a6a37
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/systemctrl/src/exitgame.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ static void startExitThread(){
pspSdkSetK1(k1);
}

int (*CtrlSetSamplingMode)(int) = NULL;
int (*CtrlSetSamplingCycle)(int) = NULL;
static void remove_analog_input(SceCtrlData *data)
{
if(data == NULL)
Expand Down Expand Up @@ -243,8 +241,6 @@ void patchController(SceModule2* mod)
CtrlPeekBufferNegative = (void *)sctrlHENFindFunction("sceController_Service", "sceCtrl_driver", 0xC152080A);
CtrlReadBufferPositive = (void *)sctrlHENFindFunction("sceController_Service", "sceCtrl_driver", 0x1F803938);
CtrlReadBufferNegative = (void *)sctrlHENFindFunction("sceController_Service", "sceCtrl_driver", 0x60B81F86);
CtrlSetSamplingCycle = (void *)sctrlHENFindFunction("sceController_Service", "sceCtrl", 0x6A2774F3);
CtrlSetSamplingMode = (void *)sctrlHENFindFunction("sceController_Service", "sceCtrl", 0x1F4011E6);

// Hook Gamepad Input
HIJACK_FUNCTION(CtrlPeekBufferPositive, peek_positive, CtrlPeekBufferPositive);
Expand Down

0 comments on commit b5a6a37

Please sign in to comment.