http://bugs.winehq.org/show_bug.cgi?id=8489
Mark Wagner mark.wagner17@gte.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mark.wagner17@gte.net
--- Comment #15 from Mark Wagner mark.wagner17@gte.net 2007-10-19 01:38:37 --- (In reply to comment #10)
I tried 0.9.36 and 0.9.43 with the D3D debug channels active and I found the cause of the problem, sort of. BG1 tries to do a IDirectDrawSurface::Lock on an invalid rectangle with coordinates (0,0,-56,8). The new validation code returns DDERR_INVALIDPARAMS, the old one returned WINED3D_INVALIDCALL, which are different values. BG crashes on the former and it works with the latter.
At least in Wine 0.9.47, simply changing the return value back is not sufficient to fix the bug.