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