Win32 UI: Enable sound properly when Enable Sound is chosen.

This commit is contained in:
The Dax committed 2013-12-10 19:24:50 -05:00
1 parent be777fc535
commit f3e76d6d79
1 file changed
+2 -2
+2 -2
View File
@@ -1437,8 +1437,8 @@ namespace MainWindow
case ID_EMULATION_SOUND:
g_Config.bEnableSound = !g_Config.bEnableSound;
if(!g_Config.bEnableSound) {
if(!IsAudioInitialised())
if(g_Config.bEnableSound) {
if (PSP_IsInited() && !IsAudioInitialised())
Audio_Init();
}
break;