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

Andrew Eikum aeikum at codeweavers.com
Tue Nov 20 07:31:11 CST 2018


Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>

On Fri, Nov 16, 2018 at 12:52:52AM +0100, Serge Gautherie wrote:
> Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
> ---
> If winejoystick.drv is expected to be present by default,
> then this should be promoted to an ERRor...
> ---
>  dlls/winmm/joystick.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> 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;
>      }
> -- 
> 2.10.0.windows.1
> 
> 
> 



More information about the wine-devel mailing list