WINMM problem with Half-Life
Mike McCormack
mike at codeweavers.com
Tue Jan 20 21:20:37 CST 2004
Eric Pouech wrote:
>> Any ideas?
>
> as an ugly hack, does setting the dwEventCount in the WINE_MCIAVI struct
> as volatile help ? (private_mciavi.h).
No, that didn't help, the one below does:
Mike
diff -u -r1.1.1.10 mciavi.c
--- dlls/winmm/mciavi/mciavi.c 10 Jan 2004 00:11:58 -0000 1.1.1.10
+++ dlls/winmm/mciavi/mciavi.c 21 Jan 2004 02:51:15 -0000
@@ -503,7 +503,7 @@
}
if (wma->lpWaveFormat) {
- while (wma->dwEventCount != nHdr - 1)
+ while (wma->dwEventCount < (nHdr - 1) )
{
LeaveCriticalSection(&wma->cs);
Sleep(100);
More information about the wine-devel
mailing list