winmm: Add a WARNing when winejoystick.drv is missing.

Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Serge Gautherie 2018-11-16 00:52:52 +01:00 committed by Alexandre Julliard
parent 47fbcece36
commit 175a2a0276
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,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;
}