psp, fix enable sound option
authorkub <derkub@gmail.com>
Thu, 23 Nov 2023 22:01:17 +0000 (23:01 +0100)
committerkub <derkub@gmail.com>
Fri, 24 Nov 2023 17:51:32 +0000 (18:51 +0100)
platform/psp/emu.c

index a1c44ca..b880064 100644 (file)
@@ -494,6 +494,9 @@ void pemu_sound_start(void)
 
        samples_made = samples_done = 0;
 
+       if (!(currentConfig.EmuOpt & EOPT_EN_SOUND))
+               return;
+
        if (PicoIn.AHW & PAHW_MCD) {
                // mp3...
                if (!mp3_init_done) {