mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-27 13:38:29 +00:00
Fixed windows build
This commit is contained in:
@@ -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