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