EMERGENCY FIX

This commit is contained in:
Serena 2023-02-06 22:20:35 +03:00
parent 6d474ac59d
commit cfe6ac5e03

View file

@ -630,7 +630,7 @@ void GameSettingsScreen::CreateAudioSettings(UI::ViewGroup *audioSettings) {
audioSettings->Add(new ItemHeader(ms->T("Audio")));
CheckBox *enableSound = audioSettings->Add(new CheckBox(&g_Config.bEnableSound,a->T("Enable Sound")));
OnClickPostDarwinNotification(enableSound, "AudioConfChanged", "EnableSound")
OnClickPostDarwinNotification(enableSound, "AudioConfChanged", "EnableSound")
PopupSliderChoice *volume = audioSettings->Add(new PopupSliderChoice(&g_Config.iGlobalVolume, VOLUME_OFF, VOLUME_FULL, a->T("Global volume"), screenManager()));
volume->SetEnabledPtr(&g_Config.bEnableSound);