dlls/dinput/mouse.c - GetDeviceState
lionel.ulmer at free.fr
Sun May 1 03:32:24 CDT 2005
On Wed, Jun 16, 2004 at 08:50:50PM +0200, James Dean Anderson wrote:
> this patch adds a missing errorcode in GetDeviceState in
> dlls/dinput/mouse.c which prevented the mouse to work in some game.
Well, I finally found the time to clean my wine-devel mailing list and do
the DInput test program and now I can confirm that this patch is right and
should go in CVS (really sorry for the ... errm ... 10 month delay).
The only problem is that it does not apply anymore (as the name of the file
changed) and that I am a bit away on my Linux box (live from WineConf :-) )
to rework it. So either one can resubmit synced to current CVS or I will do
it on Wednesday when I come back home.
RCS file: /home/wine/wine/dlls/dinput/mouse.c,v
retrieving revision 1.3
diff -u -d -r1.3 mouse.c
--- dlls/dinput/mouse.c 4 Jun 2004 18:06:37 -0000 1.3
+++ dlls/dinput/mouse.c 16 Jun 2004 18:17:16 -0000
@@ -677,6 +677,8 @@
LPDIRECTINPUTDEVICE8A iface,DWORD len,LPVOID ptr
+ if(This->acquired == 0) return DIERR_NOTACQUIRED;
Lionel Ulmer - http://www.bbrox.org/
More information about the wine-devel