Really small dinput mouse fix

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

 



Puts IID_IDirectInputDevice2A back in
IDirectInputDevice2AImpl_QueryInterface so the mouse works again in a
few games that use it. :)

-- 
Paul Bain <prbain@essex.ac.uk>
--- wine/dlls/dinput/device.c	2003-06-07 22:12:29.000000000 +0100
+++ wine-new/dlls/dinput/device.c	2003-06-07 22:12:08.000000000 +0100
@@ -341,6 +341,11 @@
 		*ppobj = This;
 		return 0;
 	}
+	if (IsEqualGUID(&IID_IDirectInputDevice2A,riid)) {
+		IDirectInputDevice2_AddRef(iface);
+		*ppobj = This;
+		return 0;
+	}
 	if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) {
 		IDirectInputDevice7_AddRef(iface);
 		*ppobj = This;

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

  Powered by Linux