aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 66fb6890..257c2b0d 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1364,6 +1364,7 @@ ALC_API ALCvoid ALC_APIENTRY alcGetIntegerv(ALCdevice *device,ALCenum param,ALsi
else
{
ALuint64 t = ALCdevice_GetTime(device);
+ t -= t%device->TimeRes;
data[0] = t&0xffffffff;
data[1] = t>>32;
}