mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-05-23 23:05:48 -04:00
input_patches: fix cursor velocity retaining after D-Pad input
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user