http://bugs.winehq.org/show_bug.cgi?id=1908
--- Comment #20 from Daniel Rech danielrech@gmail.com 2007-09-07 17:44:37 --- Created an attachment (id=7996) --> (http://bugs.winehq.org/attachment.cgi?id=7996) Trace with modified 0.9.44
I've changed the array checkFormatList[] in function IDirectDrawImpl_EnumDisplayModes (dlls/ddraw/ddraw.c):
WINED3DFORMAT checkFormatList[] = { WINED3DFMT_R8G8B8, WINED3DFMT_R5G6B5, // 16 bits WINED3DFMT_P8, // 8 bits WINED3DFMT_A8R8G8B8, WINED3DFMT_X8R8G8B8, // 32 bits WINED3DFMT_X1R5G5B5, WINED3DFMT_A1R5G5B5, WINED3DFMT_A4R4G4B4, WINED3DFMT_R3G3B2, WINED3DFMT_A8R3G3B2, WINED3DFMT_X4R4G4B4, WINED3DFMT_A2B10G10R10, WINED3DFMT_A8B8G8R8, WINED3DFMT_X8B8G8R8, WINED3DFMT_A2R10G10B10, WINED3DFMT_A8P8 };
...and it crashed again (result attached)
The order of the enum is the same as it was in the pre-patch version.