mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
[Win32k]
- Fix timer resolution to match what windows uses. Now pass wine test_timers_no_wnd. svn path=/trunk/; revision=54153
This commit is contained in:
parent
435e9fc9dd
commit
c537b5111e
|
@ -187,7 +187,7 @@ IntSetTimer( PWND Window,
|
|||
PTIMER pTmr;
|
||||
UINT Ret = IDEvent;
|
||||
LARGE_INTEGER DueTime;
|
||||
DueTime.QuadPart = (LONGLONG)(-9000); // 1024hz .9765625 ms
|
||||
DueTime.QuadPart = (LONGLONG)(-10000); // 1024hz .9765625 ms set to 1.1 ms
|
||||
|
||||
#if 0
|
||||
/* Windows NT/2k/XP behaviour */
|
||||
|
@ -448,7 +448,7 @@ ProcessTimers(VOID)
|
|||
KeQueryTickCount(&TickCount);
|
||||
Time = MsqCalculateMessageTime(&TickCount);
|
||||
|
||||
DueTime.QuadPart = (LONGLONG)(-9000); // 1024hz .9765625 ms
|
||||
DueTime.QuadPart = (LONGLONG)(-10000); // 1024hz .9765625 ms set to 1.1 ms
|
||||
|
||||
while(pLE != &TimersListHead)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue