Skip to content

Commit

Permalink
winebus: Show an ERR on old SDL
Browse files Browse the repository at this point in the history
  • Loading branch information
aeikum authored and kakra committed Sep 8, 2018
1 parent 52e4651 commit f43da0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dlls/winebus.sys/bus_sdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,9 @@ NTSTATUS WINAPI sdl_driver_init(DRIVER_OBJECT *driver, UNICODE_STRING *registry_
pSDL_JoystickGetProduct = wine_dlsym(sdl_handle, "SDL_JoystickGetProduct", NULL, 0);
pSDL_JoystickGetProductVersion = wine_dlsym(sdl_handle, "SDL_JoystickGetProductVersion", NULL, 0);
pSDL_JoystickGetVendor = wine_dlsym(sdl_handle, "SDL_JoystickGetVendor", NULL, 0);
if(!pSDL_JoystickGetVendor){
ERR("SDL installation is old! Please upgrade to >=2.0.6 to get accurate joystick information.\n");
}
}

sdl_driver_obj = driver;
Expand Down

0 comments on commit f43da0a

Please sign in to comment.