mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
Fix csnd corrupting dsp audio driver on failure, add 3dsx/smdh to
gitignore
This commit is contained in:
parent
9488e4e25a
commit
2768f639a2
5
.gitignore
vendored
5
.gitignore
vendored
@ -68,6 +68,11 @@ menu/driverspzarch.c
|
|||||||
*.rpx
|
*.rpx
|
||||||
wiiu/wut/elf2rpl/elf2rpl
|
wiiu/wut/elf2rpl/elf2rpl
|
||||||
|
|
||||||
|
# 3ds
|
||||||
|
/.lst
|
||||||
|
*.3dsx
|
||||||
|
*.smdh
|
||||||
|
|
||||||
# Ctags
|
# Ctags
|
||||||
/tags
|
/tags
|
||||||
|
|
||||||
|
@ -358,16 +358,11 @@ static void frontend_ctr_init(void *data)
|
|||||||
}
|
}
|
||||||
osSetSpeedupEnable(true);
|
osSetSpeedupEnable(true);
|
||||||
|
|
||||||
audio_driver_t* dsp_audio_driver = &audio_ctr_dsp;
|
|
||||||
if(csndInit() != 0)
|
if(csndInit() != 0)
|
||||||
{
|
audio_ctr_csnd = audio_null;
|
||||||
dsp_audio_driver = &audio_ctr_csnd;
|
|
||||||
audio_ctr_csnd = audio_ctr_dsp;
|
|
||||||
audio_ctr_dsp = audio_null;
|
|
||||||
}
|
|
||||||
ctr_check_dspfirm();
|
ctr_check_dspfirm();
|
||||||
if(ndspInit() != 0)
|
if(ndspInit() != 0)
|
||||||
*dsp_audio_driver = audio_null;
|
audio_ctr_dsp = audio_null;
|
||||||
cfguInit();
|
cfguInit();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user