3 Feb
2009
3 Feb
'09
5:37 p.m.
Alexandre Julliard schrieb:
Florian Tobias Schandinat <FlorianSchandinat(a)gmx.de> writes:
+ /* Convert: time counter -> PIT counter + * GetSystemTimeAsFileTime: 10000000 Hz + * PIT frequency: 1193182 Hz */ + val = (DWORD)(val - delta*1193182./10000000.) % (maxval + 1);
You should probably use QueryPerformanceCounter as it already uses the correct frequency.
Thanks, will change it and resend the patch with some minor changes.