Commit bfafb1ff authored by Austin English's avatar Austin English Committed by Alexandre Julliard

dinput: Consistently use GetCurrentTime().

parent 710e3bc5
......@@ -689,8 +689,7 @@ static void joy_polldev(LPDIRECTINPUTDEVICE8A iface)
}
}
if (inst_id >= 0)
queue_event(iface, inst_id,
value, jse.time, This->generic.base.dinput->evsequence++);
queue_event(iface, inst_id, value, GetCurrentTime(), This->generic.base.dinput->evsequence++);
}
}
......
......@@ -873,7 +873,7 @@ static void joy_polldev(LPDIRECTINPUTDEVICE8A iface)
}
if (inst_id >= 0)
queue_event(iface, inst_id,
value, ie.time.tv_usec, This->generic.base.dinput->evsequence++);
value, GetCurrentTime(), This->generic.base.dinput->evsequence++);
}
}
......
......@@ -126,7 +126,7 @@ static int KeyboardCallback( LPDIRECTINPUTDEVICE8A iface, WPARAM wparam, LPARAM
EnterCriticalSection(&This->base.crit);
queue_event(iface, DIDFT_MAKEINSTANCE(dik_code) | DIDFT_PSHBUTTON,
new_diks, hook->time, This->base.dinput->evsequence++);
new_diks, GetCurrentTime(), This->base.dinput->evsequence++);
LeaveCriticalSection(&This->base.crit);
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment