1.14 release
[picodrive.git] / platform / gp2x / 940ctl_ym2612.c
index 3502b82..1a8160d 100644 (file)
@@ -565,7 +565,7 @@ void mp3_start_play(FILE *f, int pos) // pos is 0-1023
 {\r
        int byte_offs = 0;\r
 \r
-       if (!(currentConfig.EmuOpt&0x800)) { // cdda disabled?\r
+       if (!(PicoOpt&0x800)) { // cdda disabled?\r
                return;\r
        }\r
 \r
@@ -601,7 +601,7 @@ int mp3_get_offset(void)
        int offs1024 = 0;\r
        int cdda_on;\r
 \r
-       cdda_on = (PicoMCD & 1) && (currentConfig.EmuOpt&0x800) && !(Pico_mcd->s68k_regs[0x36] & 1) &&\r
+       cdda_on = (PicoMCD & 1) && (PicoOpt&0x800) && !(Pico_mcd->s68k_regs[0x36] & 1) &&\r
                        (Pico_mcd->scd.Status_CDC & 1) && loaded_mp3 && shared_ctl->mp3_offs < shared_ctl->mp3_len;\r
 \r
        if (cdda_on) {\r