mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
input_patches: fix cursor velocity retaining after D-Pad input
This commit is contained in:
parent
dee2a36d0f
commit
7c989af42c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue