[DINPUT] Small fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This makes Croc 2 works...
Bye

Changelog :
Small fix in IDirectInputDevice2Impl_QueryInterface.

Christian Costa titan.costa@wanadoo.fr

Index: device.c
===================================================================
RCS file: /home/wine/wine/dlls/dinput/device.c,v
retrieving revision 1.10
diff -u -r1.10 device.c
--- device.c	12 Feb 2003 21:27:00 -0000	1.10
+++ device.c	29 Apr 2003 21:02:17 -0000
@@ -341,8 +341,8 @@
 		*ppobj = This;
 		return 0;
 	}
-	if (IsEqualGUID(&IID_IDirectInputDevice2A,riid)) {
-		IDirectInputDevice2_AddRef(iface);
+	if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) {
+		IDirectInputDevice7_AddRef(iface);
 		*ppobj = This;
 		return 0;
 	}

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux