parent
6d5d28484f
commit
83f97a794f
2 changed files with 3 additions and 3 deletions
|
|
@ -3847,7 +3847,7 @@ bool DivEngine::initAudioBackend() {
|
|||
if (audioEngine==DIV_AUDIO_SDL) {
|
||||
String audioDriver=getConfString("sdlAudioDriver","");
|
||||
if (!audioDriver.empty()) {
|
||||
SDL_SetHint("SDL_HINT_AUDIODRIVER",audioDriver.c_str());
|
||||
SDL_SetHint(SDL_HINT_AUDIODRIVER,audioDriver.c_str());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
@ -4072,7 +4072,7 @@ bool DivEngine::preInit(bool noSafeMode) {
|
|||
#ifdef HAVE_SDL2
|
||||
String audioDriver=getConfString("sdlAudioDriver","");
|
||||
if (!audioDriver.empty()) {
|
||||
SDL_SetHint("SDL_HINT_AUDIODRIVER",audioDriver.c_str());
|
||||
SDL_SetHint(SDL_HINT_AUDIODRIVER,audioDriver.c_str());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue