parent
6d5d28484f
commit
83f97a794f
|
@ -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
|
||||
|
||||
|
|
|
@ -764,7 +764,7 @@ int main(int argc, char** argv) {
|
|||
|
||||
#if defined(HAVE_SDL2) && defined(_WIN32) && !defined(SUPPORT_XP)
|
||||
if (!IsWindows7OrGreater()) {
|
||||
SDL_SetHint("SDL_HINT_AUDIODRIVER","winmm");
|
||||
SDL_SetHint(SDL_HINT_AUDIODRIVER,"winmm");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue