http://bugs.winehq.org/show_bug.cgi?id=5509
------- Additional Comments From stefandoesinger@gmx.at 2006-29-06 15:43 ------- Created an attachment (id=2791) --> (http://bugs.winehq.org/attachment.cgi?id=2791&action=view) Proposed fix
The issue was that the app passed bad values to BltFast, and in the old ddraw code those values were filtered out in IDirectDrawSurface::Lock. This patch adds those checks to IWineD3DSurface::LockRect, and it returns an error if the rectangle is bad. This error is catched by BltFast which returns an error itself. This fixed the demo for me(and some other games too :-) ). I sent the patch already to wine-patches