ddraw assert prevents Ankh from starting

Christoph Frick frick at sc-networks.de
Tue Jun 20 02:17:27 CDT 2006


on the end of this mail is a patch, that removes an assert(0) from the
surface code in ddraw. but removing it let Ankh[1][2] start (it started
before, but there where no loading screen visible). yet there are other
problems with this game - but it now actually works better than before.

so let the ddraw developers decide what to do there - this mail is just
a reminder, that there is a poor little homeless assert, that needs your
attention ;)

[1] german demo: http://www.gamershell.com/download_12062.shtml
[2] engl.  demo: http://www.gamershell.com/download_12202.shtml


Index: dlls/ddraw/surface.c
RCS file: /home/wine/wine/dlls/ddraw/surface.c,v
retrieving revision 1.4
diff -u -r1.4 surface.c
--- dlls/ddraw/surface.c	19 Jun 2006 10:44:41 -0000	1.4
+++ dlls/ddraw/surface.c	20 Jun 2006 07:10:07 -0000
@@ -1865,7 +1865,6 @@
     HRESULT hr;
     FIXME("(%p)->(%p,%lx)\n", This, DDSD, Flags);
-    assert(0);
         return DDERR_INVALIDPARAMS;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060620/04d5ce44/attachment.pgp

More information about the wine-devel mailing list