mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
NewUI: Don't init audio if sound is disabled. And remove some stray newlines.
This commit is contained in:
@@ -331,8 +331,9 @@ void GameSettingsScreen::update(InputState &input) {
|
||||
UI::EventReturn GameSettingsScreen::OnBack(UI::EventParams &e) {
|
||||
screenManager()->finishDialog(this, DR_OK);
|
||||
|
||||
if(PSP_IsInited() && !IsAudioInitialised()) {
|
||||
Audio_Init();
|
||||
if(g_Config.bEnableSound) {
|
||||
if(PSP_IsInited() && !IsAudioInitialised())
|
||||
Audio_Init();
|
||||
}
|
||||
|
||||
return UI::EVENT_DONE;
|
||||
|
||||
Reference in New Issue
Block a user