X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Fmp3_helix.c;fp=common%2Fmp3_helix.c;h=6752e3ece90bd32002f3306490704658faa1c335;hb=dd5fd4778d797a1ef4767604b1c57c924ed0f64b;hp=a5da3761eadddd3a90bc15f78b0b7cb8e3fd24e5;hpb=0fb424dbee4a971fc59129fe9c80f1568f6d46c0;p=libpicofe.git diff --git a/common/mp3_helix.c b/common/mp3_helix.c index a5da376..6752e3e 100644 --- a/common/mp3_helix.c +++ b/common/mp3_helix.c @@ -180,7 +180,7 @@ void mp3_start_play(FILE *f, int pos) mp3_current_file = NULL; mp3_buffer_offs = 0; - if (!(PicoOpt&0x800) || f == NULL) // cdda disabled or no file? + if (!(PicoOpt&POPT_EN_MCD_CDDA) || f == NULL) // cdda disabled or no file? return; //lprintf("mp3_start_play %p %i\n", f, pos); @@ -204,7 +204,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&POPT_EN_MCD_CDDA) && !(Pico_mcd->s68k_regs[0x36] & 1) && (Pico_mcd->scd.Status_CDC & 1) && mp3_current_file != NULL; if (cdda_on) {