mirror of
https://github.com/libretro/RetroArch
synced 2025-03-11 10:13:43 +00:00
Minor fixes.
This commit is contained in:
parent
a207549f18
commit
2b6c252747
3
driver.c
3
driver.c
@ -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
|
||||
|
3
driver.h
3
driver.h
@ -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
|
||||
|
@ -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",
|
||||
};
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user