http://bugs.winehq.org/show_bug.cgi?id=7710 Alex Balut <alexandru.balut(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexandru.balut(a)gmail.com --- Comment #16 from Alex Balut <alexandru.balut(a)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.