Fixed x64 not building correctly
This commit is contained in:
parent
83a78318f9
commit
11bfe52e68
@ -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
|
||||
|
@ -151,4 +151,4 @@ typedef struct _XINPUT_KEYSTROKE
|
||||
BYTE HidCode;
|
||||
} XINPUT_KEYSTROKE, *PXINPUT_KEYSTROKE;
|
||||
|
||||
extern bool daytonaPressStart;
|
||||
extern bool daytonaPressStart;
|
||||
|
Loading…
x
Reference in New Issue
Block a user