https://bugs.winehq.org/show_bug.cgi?id=14897
Kimmo Myllyvirta kimmo.myllyvirta@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kimmo.myllyvirta@gmail.com
--- Comment #13 from Kimmo Myllyvirta kimmo.myllyvirta@gmail.com --- Created attachment 56110 --> https://bugs.winehq.org/attachment.cgi?id=56110 hack patch
The game passes completely uninitalized DDSURFACEDESC2 (dwSize = whatever was in stack) to IDirectDrawSurface7::Lock.
trace:ddraw:ddraw_surface7_Lock iface 0x1369c98, rect (null), surface_desc 0x33e860, flags 0x21, h (nil). warn:ddraw:ddraw_surface7_Lock Invalid structure size 3403136, returning DDERR_INVALIDPARAMS wine: Unhandled page fault on write access to 0x00000000 at address 0x5f7c33 (thread 0009), starting debugger...
With the attached patch the game starts up. Is setting the dwSize actually required when calling IDirectDrawSurface7::Lock?