Skip to content
Snippets Groups Projects
Commit 14216996 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard
Browse files

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: default avatarJózef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 387ba1d6
No related branches found
Tags wine-970914
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment