mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Fixed an issue where the navigation sounds were loaded multiple times on application startup.
This commit is contained in:
parent
b1dd2dd176
commit
8a60bf0877
|
@ -1151,7 +1151,7 @@ void ViewController::preload()
|
|||
// the bundled fallback sound files.
|
||||
bool themeSoundSupport {false};
|
||||
for (auto system : SystemData::sSystemVector) {
|
||||
if (system->getTheme()->hasView("all")) {
|
||||
if (!themeSoundSupport && system->getTheme()->hasView("all")) {
|
||||
NavigationSounds::getInstance().loadThemeNavigationSounds(system->getTheme().get());
|
||||
themeSoundSupport = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue