winebus: Print SDL error message when SDL cannot be initialized.
SDL_Init(SDL_INIT_HAPTIC) fails if SDL is built without haptic support. Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
387ba1d605
commit
142169960a
|
@ -910,7 +910,7 @@ static DWORD CALLBACK deviceloop_thread(void *args)
|
|||
|
||||
if (pSDL_Init(SDL_INIT_GAMECONTROLLER|SDL_INIT_HAPTIC) < 0)
|
||||
{
|
||||
ERR("Can't Init SDL\n");
|
||||
ERR("Can't init SDL: %s\n", pSDL_GetError());
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue