diff --git a/OpenParrot/src/Functions/PokkenXInputEmu.cpp b/OpenParrot/src/Functions/PokkenXInputEmu.cpp index 4268566..ea652b8 100644 --- a/OpenParrot/src/Functions/PokkenXInputEmu.cpp +++ b/OpenParrot/src/Functions/PokkenXInputEmu.cpp @@ -76,12 +76,12 @@ DWORD WINAPI XInputGetState gamepadState.wButtons |= *ffbOffset; else gamepadState.wButtons |= 0; - +#ifndef _M_AMD64 if (GameDetect::currentGame == GameID::Daytona3) { gamepadState.bRightTrigger = daytonaPressStart ? 0xFF : 0x00; } - +#endif if (pState->dwPacketNumber == UINT_MAX) pState->dwPacketNumber = 0; else @@ -280,11 +280,13 @@ DWORD WINAPI XInputGetStateEx else gamepadState.wButtons = 0; +#ifndef _M_AMD64 if (GameDetect::currentGame == GameID::Daytona3) { gamepadState.bRightTrigger = daytonaPressStart ? 0xFF : 0x00; } - +#endif + if (pState->dwPacketNumber == UINT_MAX) pState->dwPacketNumber = 0; else diff --git a/OpenParrot/src/Functions/PokkenXInputEmu.h b/OpenParrot/src/Functions/PokkenXInputEmu.h index b70b944..03fe014 100644 --- a/OpenParrot/src/Functions/PokkenXInputEmu.h +++ b/OpenParrot/src/Functions/PokkenXInputEmu.h @@ -151,4 +151,4 @@ typedef struct _XINPUT_KEYSTROKE BYTE HidCode; } XINPUT_KEYSTROKE, *PXINPUT_KEYSTROKE; -extern bool daytonaPressStart; \ No newline at end of file +extern bool daytonaPressStart;