X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2F940ctl.c;h=272b67b97062a044e0523de9ebf1ccd3fe2337e1;hb=dd5fd4778d797a1ef4767604b1c57c924ed0f64b;hp=d2f4a32d57e4670e180d3914635d0233566dfefc;hpb=0fb424dbee4a971fc59129fe9c80f1568f6d46c0;p=libpicofe.git diff --git a/gp2x/940ctl.c b/gp2x/940ctl.c index d2f4a32..272b67b 100644 --- a/gp2x/940ctl.c +++ b/gp2x/940ctl.c @@ -611,7 +611,7 @@ int mp3_get_offset(void) unsigned int offs1024 = 0; int cdda_on; - cdda_on = (PicoMCD & 1) && (PicoOpt&0x800) && !(Pico_mcd->s68k_regs[0x36] & 1) && + cdda_on = (PicoAHW & PAHW_MCD) && (PicoOpt&0x800) && !(Pico_mcd->s68k_regs[0x36] & 1) && (Pico_mcd->scd.Status_CDC & 1) && loaded_mp3; if (cdda_on) {