From 614106c8686aa9a4fea7131ab0889c32dc33d25c Mon Sep 17 00:00:00 2001 From: Hyper <34012267+hyperbx@users.noreply.github.com> Date: Sun, 19 Jan 2025 15:58:02 +0000 Subject: [PATCH] input_patches: add missing hook functions --- UnleashedRecomp/patches/input_patches.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/UnleashedRecomp/patches/input_patches.cpp b/UnleashedRecomp/patches/input_patches.cpp index 5e6fda8..fdddd61 100644 --- a/UnleashedRecomp/patches/input_patches.cpp +++ b/UnleashedRecomp/patches/input_patches.cpp @@ -28,6 +28,16 @@ void PostureDPadSupportMidAsmHook(PPCRegister& pPadState, PPCRegister& x, PPCReg SetDPadAnalogDirectionY(pPadState, y, true); } +void PostureDPadSupportXMidAsmHook(PPCRegister& pPadState, PPCRegister& x) +{ + SetDPadAnalogDirectionX(pPadState, x, false); +} + +void PostureDPadSupportYMidAsmHook(PPCRegister& pPadState, PPCRegister& y) +{ + SetDPadAnalogDirectionY(pPadState, y, false); +} + void PostureDPadSupportPathLocalMidAsmHook(PPCRegister& pPadState, PPCRegister& x, PPCRegister& y) { SetDPadAnalogDirectionX(pPadState, x, false);