giz rc1 release
[picodrive.git] / Pico / sound / sound.c
index 1a7604f..32f2295 100644 (file)
@@ -262,7 +262,8 @@ PICO_INTERNAL int sound_render(int offset, int length)
   }\r
 \r
   // CD: CDDA audio\r
-  if ((PicoMCD & 1) && (PicoOpt & 0x800))\r
+  // CD mode, cdda enabled, not data track, CDC is reading\r
+  if ((PicoMCD & 1) && (PicoOpt & 0x800) && !(Pico_mcd->s68k_regs[0x36] & 1) && (Pico_mcd->scd.Status_CDC & 1))\r
     mp3_update(buf32, length, stereo);\r
 \r
   // convert + limit to normal 16bit output\r