mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(3DS) guard treading
This commit is contained in:
parent
70feaebc91
commit
58cb2b6cc4
@ -792,8 +792,10 @@ endif
|
|||||||
|
|
||||||
ifeq ($(TARGET), retroarch_3ds)
|
ifeq ($(TARGET), retroarch_3ds)
|
||||||
OBJ += audio/drivers/ctr_csnd_audio.o \
|
OBJ += audio/drivers/ctr_csnd_audio.o \
|
||||||
audio/drivers/ctr_dsp_audio.o \
|
audio/drivers/ctr_dsp_audio.o
|
||||||
audio/drivers/ctr_dsp_thread_audio.o
|
ifeq ($(HAVE_THREADS), 1)
|
||||||
|
OBJ += audio/drivers/ctr_dsp_thread_audio.o
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_ALSA), 1)
|
ifeq ($(HAVE_ALSA), 1)
|
||||||
|
@ -487,7 +487,9 @@ static void frontend_ctr_init(void* data)
|
|||||||
ctr_check_dspfirm();
|
ctr_check_dspfirm();
|
||||||
if (ndspInit() != 0) {
|
if (ndspInit() != 0) {
|
||||||
audio_ctr_dsp = audio_null;
|
audio_ctr_dsp = audio_null;
|
||||||
|
#ifdef HAVE_THREADS
|
||||||
audio_ctr_dsp_thread = audio_null;
|
audio_ctr_dsp_thread = audio_null;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
cfguInit();
|
cfguInit();
|
||||||
ptmuInit();
|
ptmuInit();
|
||||||
|
@ -919,8 +919,10 @@ AUDIO
|
|||||||
#elif defined(_3DS)
|
#elif defined(_3DS)
|
||||||
#include "../audio/drivers/ctr_csnd_audio.c"
|
#include "../audio/drivers/ctr_csnd_audio.c"
|
||||||
#include "../audio/drivers/ctr_dsp_audio.c"
|
#include "../audio/drivers/ctr_dsp_audio.c"
|
||||||
|
#ifdef HAVE_THREADS
|
||||||
#include "../audio/drivers/ctr_dsp_thread_audio.c"
|
#include "../audio/drivers/ctr_dsp_thread_audio.c"
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_XAUDIO
|
#ifdef HAVE_XAUDIO
|
||||||
#include "../audio/drivers/xaudio.c"
|
#include "../audio/drivers/xaudio.c"
|
||||||
|
@ -605,7 +605,9 @@ extern audio_driver_t audio_psp;
|
|||||||
extern audio_driver_t audio_ps2;
|
extern audio_driver_t audio_ps2;
|
||||||
extern audio_driver_t audio_ctr_csnd;
|
extern audio_driver_t audio_ctr_csnd;
|
||||||
extern audio_driver_t audio_ctr_dsp;
|
extern audio_driver_t audio_ctr_dsp;
|
||||||
|
#ifdef HAVE_THREADS
|
||||||
extern audio_driver_t audio_ctr_dsp_thread;
|
extern audio_driver_t audio_ctr_dsp_thread;
|
||||||
|
#endif
|
||||||
extern audio_driver_t audio_switch;
|
extern audio_driver_t audio_switch;
|
||||||
extern audio_driver_t audio_switch_thread;
|
extern audio_driver_t audio_switch_thread;
|
||||||
extern audio_driver_t audio_switch_libnx_audren;
|
extern audio_driver_t audio_switch_libnx_audren;
|
||||||
|
@ -113,8 +113,10 @@ static const audio_driver_t *audio_drivers[] = {
|
|||||||
#ifdef _3DS
|
#ifdef _3DS
|
||||||
&audio_ctr_csnd,
|
&audio_ctr_csnd,
|
||||||
&audio_ctr_dsp,
|
&audio_ctr_dsp,
|
||||||
|
#ifdef HAVE_THREADS
|
||||||
&audio_ctr_dsp_thread,
|
&audio_ctr_dsp_thread,
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef SWITCH
|
#ifdef SWITCH
|
||||||
&audio_switch,
|
&audio_switch,
|
||||||
&audio_switch_thread,
|
&audio_switch_thread,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user