forked from Mirrors/wine-wine
Fixed fake multimedia timers. Grim Fandango is now able to start up
when under favorable conditions. The preview movie on the Brood Wars disc now plays, too.oldstable
parent
7dae09fb5e
commit
1441e03e0c
|
@ -338,7 +338,7 @@ DWORD WINAPI timeGetTime()
|
|||
StartMMTime();
|
||||
#ifdef USE_FAKE_MM_TIMERS
|
||||
if (bUseFakeTimers) {
|
||||
if (wInCallBackLoop++) {
|
||||
if (!wInCallBackLoop++) {
|
||||
DWORD dwDelta;
|
||||
|
||||
|
||||
|
@ -358,9 +358,9 @@ DWORD WINAPI timeGetTime()
|
|||
lpTimer->wCurTime -= dwDelta;
|
||||
}
|
||||
}
|
||||
dwNewTick = mmSysTimeMS.u.ms;
|
||||
}
|
||||
}
|
||||
dwNewTick = mmSysTimeMS.u.ms;
|
||||
wInCallBackLoop--;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue