[PATCH] winmm: Add a WARNing when winejoystick.drv is missing.

Andrew Eikum aeikum at codeweavers.com
Mon Nov 19 07:50:41 CST 2018


On Fri, Nov 16, 2018 at 12:52:52AM +0100, Serge Gautherie wrote:
> diff --git a/dlls/winmm/joystick.c b/dlls/winmm/joystick.c
> index 5a12b36..92a7ce9 100644
> --- a/dlls/winmm/joystick.c
> +++ b/dlls/winmm/joystick.c
> @@ -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;
>      }

Presumably the reactos people don't build winejoystick.drv on purpose.
Why do we want to add a WARN for them?

Baruch, you worked here recently, any thoughts?

Andrew



More information about the wine-devel mailing list