From 7c989af42c1725bc74ef44619cae7b0c8ce79c6b Mon Sep 17 00:00:00 2001 From: Hyper <34012267+hyperbx@users.noreply.github.com> Date: Sun, 26 Jan 2025 20:15:56 +0000 Subject: [PATCH] input_patches: fix cursor velocity retaining after D-Pad input --- UnleashedRecomp/patches/input_patches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnleashedRecomp/patches/input_patches.cpp b/UnleashedRecomp/patches/input_patches.cpp index 9bc6350..0477b3c 100644 --- a/UnleashedRecomp/patches/input_patches.cpp +++ b/UnleashedRecomp/patches/input_patches.cpp @@ -304,7 +304,7 @@ bool WorldMapDeadzoneMidAsmHook(PPCRegister& pPadState) { auto pGuestPadState = (SWA::SPadState*)g_memory.Translate(pPadState.u32); - if (IsLeftStickThreshold(pGuestPadState)) + if (IsDPadThreshold(pGuestPadState) || IsLeftStickThreshold(pGuestPadState)) { g_worldMapCursorVelocityX = 0; g_worldMapCursorVelocityY = 0;