Don't use SDL input on xenon.

This commit is contained in:
Themaister 2011-12-14 16:37:31 +01:00
parent 0fce2f409f
commit 528cf8d472

View File

@ -311,6 +311,7 @@ static void *sdl_gfx_init(const video_info_t *video, const input_driver_t **inpu
goto error; goto error;
} }
#ifndef XENON
sdl_input_t *sdl_input = input_sdl.init(); sdl_input_t *sdl_input = input_sdl.init();
if (sdl_input) if (sdl_input)
{ {
@ -318,7 +319,12 @@ static void *sdl_gfx_init(const video_info_t *video, const input_driver_t **inpu
*input_data = sdl_input; *input_data = sdl_input;
} }
else else
#else
{
*input = NULL; *input = NULL;
*input_data = NULL;
}
#endif
vid->rgb32 = video->rgb32; vid->rgb32 = video->rgb32;