http://bugs.winehq.org/show_bug.cgi?id=8489
Andrei Homescu ahomescu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ahomescu@gmail.com
--- Comment #10 from Andrei Homescu ahomescu@gmail.com 2007-08-17 07:20:28 --- 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. I will also attach the debug output for both versions.