Fixed windows build
This commit is contained in:
1 parent
ee0e9e979c
commit
d3ba6529e6
1 file changed
+6
@@ -1754,6 +1754,9 @@ static void RAWINPUT_UpdateOtherAPIs(SDL_Joystick *joystick)
|
||||
|
||||
if (ctx->guide_hack || ctx->trigger_hack) {
|
||||
timestamp = SDL_GetTicksNS();
|
||||
} else {
|
||||
/* timestamp won't be used */
|
||||
timestamp = 0;
|
||||
}
|
||||
|
||||
if (ctx->guide_hack) {
|
||||
@@ -1802,6 +1805,9 @@ static void RAWINPUT_UpdateOtherAPIs(SDL_Joystick *joystick)
|
||||
|
||||
if (ctx->guide_hack || ctx->trigger_hack) {
|
||||
timestamp = SDL_GetTicksNS();
|
||||
} else {
|
||||
/* timestamp won't be used */
|
||||
timestamp = 0;
|
||||
}
|
||||
|
||||
if (ctx->guide_hack) {
|
||||
|
||||
Reference in new issue
Block a user