https://bugs.winehq.org/show_bug.cgi?id=21108
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-dsound
--- Comment #17 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Still crashes in currnt git. Looks like a bug somewhere in dsound. With minimal hack below the crash is gone and the game starts for me
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c index 3f8a478..b50df09 100644 --- a/dlls/dsound/primary.c +++ b/dlls/dsound/primary.c @@ -977,7 +977,7 @@ static HRESULT WINAPI PrimaryBufferImpl_Lock(IDirectSoundBuffer *iface, DWORD wr
if (writecursor+writebytes <= device->buflen) { *(LPBYTE*)lplpaudioptr1 = device->buffer+writecursor; - *audiobytes1 = writebytes; + //*audiobytes1 = writebytes; if (lplpaudioptr2) *(LPBYTE*)lplpaudioptr2 = NULL; if (audiobytes2)