mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-22 01:07:37 +00:00
(SDL2) Use sdl_audio.c as audio driver
This commit is contained in:
parent
e07dca3d22
commit
f53b67aab7
2
Makefile
2
Makefile
@ -214,7 +214,7 @@ ifeq ($(HAVE_SDL), 1)
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_SDL2), 1)
|
||||
OBJ += gfx/sdl2_gfx.o input/sdl2_input.o input/sdl2_joypad.o
|
||||
OBJ += gfx/sdl2_gfx.o input/sdl2_input.o input/sdl2_joypad.o audio/sdl_audio.o
|
||||
JOYCONFIG_OBJ += input/sdl2_joypad.o
|
||||
JOYCONFIG_LIBS += $(SDL2_LIBS)
|
||||
DEFINES += $(SDL2_CFLAGS) $(BSD_LOCAL_INC)
|
||||
|
@ -193,6 +193,10 @@ const audio_driver_t audio_sdl = {
|
||||
sdl_audio_set_nonblock_state,
|
||||
sdl_audio_free,
|
||||
NULL,
|
||||
#ifdef HAVE_SDL2
|
||||
"sdl2"
|
||||
#else
|
||||
"sdl"
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user