[Bug 8854] Hurrican hangs while tryiing to start game

Wine Bugs wine-bugs at winehq.org
Tue Jul 3 13:21:27 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=8854





------- Additional Comments From xerox_xerox2000 at yahoo.co.uk  2007-03-07 13:21 -------
a minimal "revert" to get the game working again:
diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c
diff --git a/dlls/dinput/keyboard.c b/dlls/dinput/keyboard.c
index ad44023..1d0c1db 100644
--- a/dlls/dinput/keyboard.c
+++ b/dlls/dinput/keyboard.c
@@ -281,7 +281,7 @@ static HRESULT WINAPI SysKeyboardAImpl_GetDeviceState(

     if (len != WINE_DINPUT_KEYBOARD_MAX_KEYS)
         return DIERR_INVALIDPARAM;
-
+MsgWaitForMultipleObjectsEx(0, NULL, 0, QS_ALLINPUT, 0);
     EnterCriticalSection(&This->base.crit);

     if (TRACE_ON(dinput)) {


Hope it helps to solve the bug

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list