[Bug 7710] QueryPerformanceCounter should be independent of system time
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat May 15 17:53:21 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=7710
Alex Balut <alexandru.balut at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexandru.balut at gmail.com
--- Comment #16 from Alex Balut <alexandru.balut at gmail.com> 2010-05-15 17:53:20 ---
(In reply to comment #6)
> Looks like LiveForSpeed uses GetTickCount. Works perfectly on my Linux system
> after rewriting NtGetTickCount in dlls/ntdll/time.c to use
> clock_gettime(CLOCK_MONOTONIC,...) like this:
>
> ULONG WINAPI NtGetTickCount(void)
> {
> struct timespec current_time;
>
> clock_gettime(CLOCK_MONOTONIC, ¤t_time);
> return current_time.tv_sec * 1000 +
> current_time.tv_nsec / 1000000;
> }
Piotr, was there a reason why you did not submit this as a patch to
wine-patches?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list