https://git.reactos.org/?p=reactos.git;a=commitdiff;h=78d8705181721c5e6cffb…
commit 78d8705181721c5e6cffb4598fcfeb947b0d91e3
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Mon Mar 30 12:14:52 2020 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Mar 30 12:14:52 2020 +0200
[WINMM] Add a WARN() when winejoystick.drv is missing (#2480)
Follow-up to 97150ce9.
Import
https://source.winehq.org/git/wine.git/commit/175a2a027637719d1f3c644d97b6d…
---
dll/win32/winmm/joystick.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dll/win32/winmm/joystick.c b/dll/win32/winmm/joystick.c
index 92bd48d3995..304c279e322 100644
--- a/dll/win32/winmm/joystick.c
+++ b/dll/win32/winmm/joystick.c
@@ -66,6 +66,8 @@ static BOOL JOY_LoadDriver(DWORD dwJoyID)
if (!JOY_Sticks[dwJoyID].hDriver)
{
+ WARN("OpenDriverA(\"winejoystick.drv\") failed\n");
+
/* The default driver is missing, don't attempt to load it again */
winejoystick_missing = TRUE;
}