Minor fixes.

This commit is contained in:
Themaister 2011-12-02 02:22:29 +01:00
parent a207549f18
commit 2b6c252747
4 changed files with 8 additions and 9 deletions

View File

@ -86,6 +86,9 @@ static const video_driver_t *video_drivers[] = {
};
static const input_driver_t *input_drivers[] = {
#ifdef HAVE_PS3
&input_ps3,
#endif
#ifdef HAVE_SDL
&input_sdl,
#endif

View File

@ -167,15 +167,14 @@ extern const audio_driver_t audio_pulse;
extern const audio_driver_t audio_ext;
extern const audio_driver_t audio_dsound;
extern const audio_driver_t audio_coreaudio;
#ifdef __CELLOS_LV2__
extern const audio_driver_t audio_ps3;
#endif
extern const video_driver_t video_gl;
extern const video_driver_t video_xvideo;
extern const video_driver_t video_sdl;
extern const video_driver_t video_ext;
extern const input_driver_t input_sdl;
extern const input_driver_t input_x;
extern const input_driver_t input_ps3;
////////////////////////////////////////////////
#endif

View File

@ -107,5 +107,6 @@ const input_driver_t input_ps3 = {
.init = ps3_input_init,
.poll = ps3_input_poll,
.input_state = ps3_input_state,
.free = ps3_free_input
.free = ps3_free_input,
.ident = "ps3",
};

View File

@ -62,11 +62,9 @@ static void set_defaults(void)
switch (AUDIO_DEFAULT_DRIVER)
{
#ifdef __CELLOS_LV2__
case AUDIO_PS3:
def_audio = "ps3";
break;
#endif
break;
case AUDIO_RSOUND:
def_audio = "rsound";
break;
@ -106,11 +104,9 @@ static void set_defaults(void)
switch (INPUT_DEFAULT_DRIVER)
{
#ifdef __CELLOS_LV2__
case INPUT_PS3:
def_input = "ps3";
break;
#endif
break;
case INPUT_SDL:
def_input = "sdl";
break;