DDRAW: GetFourCCCodes stub fix
Jason McMullan
jmcmullan at linuxcare.com
Sat May 19 16:42:04 CDT 2001
For an accurate stub of DDRAW:GetFourCCCodes, apply
this patch. Fixes the inventory bug in 'The Crystal Key'.
Versus current CVS.
Index: dlls/ddraw/ddraw/main.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/ddraw/main.c,v
retrieving revision 1.17
diff -u -r1.17 main.c
--- dlls/ddraw/ddraw/main.c 2001/05/09 17:31:32 1.17
+++ dlls/ddraw/ddraw/main.c 2001/05/19 21:39:40
@@ -793,6 +793,9 @@
LPDWORD pCodes)
{
ICOM_THIS(IDirectDrawImpl,iface);
+ if (*pNumCodes) {
+ *pNumCodes=0;
+ }
FIXME("(%p,%p,%p), stub\n",This,pNumCodes,pCodes);
return DD_OK;
}
--
Jason McMullan, Senior Linux Consultant
Linuxcare, Inc. 412.432.6457 tel, 412.656.3519 cell
jmcmullan at linuxcare.com, http://www.linuxcare.com/
Linuxcare. Putting open source to work.
More information about the wine-patches
mailing list