mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00:00
refactor: skip jukebox init if null audio backend
This commit is contained in:
parent
092cae65be
commit
90f00d35d5
1 changed files with 5 additions and 2 deletions
|
@ -3323,8 +3323,11 @@ void CEXISlippi::ConfigureJukebox()
|
|||
}
|
||||
#endif
|
||||
|
||||
bool no_audio_output = backend.find(BACKEND_NULLSOUND) != std::string::npos;
|
||||
int dolphin_system_volume = Config::Get(Config::MAIN_AUDIO_MUTED) || no_audio_output ?
|
||||
if (backend.find(BACKEND_NULLSOUND) != std::string::npos) {
|
||||
return;
|
||||
}
|
||||
|
||||
int dolphin_system_volume = Config::Get(Config::MAIN_AUDIO_MUTED) ?
|
||||
0 :
|
||||
Config::Get(Config::MAIN_AUDIO_VOLUME);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue