https://bugs.winehq.org/show_bug.cgi?id=49564
--- Comment #5 from Henri Verbeet hverbeet@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.