[Bug 49564] Tomb Raider I (using DosBox) hangs after starting

WineHQ Bugzilla wine-bugs at winehq.org
Sun Aug 9 06:22:26 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49564

--- Comment #5 from Henri Verbeet <hverbeet at gmail.com> ---
(In reply to qsniyg from comment #4)
> The issue with dosbox is that it sleeps for one millisecond, then expects
> that GetTickCount will be incremented. I submitted a test for this here:
> https://github.com/wine-mirror/wine/commit/
> 4617f83fcf0a34fe41b0e38dde1567195395efca
> 
> It's supposed to have a near-100% increment rate, but now it has a 6%
> increment rate instead (which makes sense, 100/16 = 6.25). So it seems like
> Sleep()ing somehow signals to windows that it should update the tick count,
> even if it's below the 15-16ms resolution?
> 
The issue may be with Sleep() instead of GetTickCount(). I.e., it would not
surprise me if Sleep(1) is supposed to sleep until the next tick.

-- 
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