X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fpsp%2Fmp3.c;h=4ea3bdd7f6c5e5543420ff7cdeeab5ca935ec728;hb=075672bf9f028490174bd3fbebe957a47a10b09d;hp=049b9a59a8f23c690559d6e5c02f1af387d46808;hpb=7c18e34a745879c283ce517a799e648eef6d06ef;p=picodrive.git diff --git a/platform/psp/mp3.c b/platform/psp/mp3.c index 049b9a5..4ea3bdd 100644 --- a/platform/psp/mp3.c +++ b/platform/psp/mp3.c @@ -1,7 +1,10 @@ -// (c) Copyright 2007 notaz, All rights reserved. -// Free for non-commercial use. - -// For commercial use, separate licencing terms must be obtained. +/* + * PicoDrive + * (C) notaz, 2007,2008 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ #include #include @@ -463,7 +466,7 @@ int mp3_get_offset(void) // 0-1023 unsigned int offs1024 = 0; int cdda_on; - cdda_on = (PicoAHW & PAHW_MCD) && (PicoOpt&0x800) && !(Pico_mcd->s68k_regs[0x36] & 1) && + cdda_on = (PicoIn.AHW & PAHW_MCD) && (PicoIn.opt&0x800) && !(Pico_mcd->s68k_regs[0x36] & 1) && (Pico_mcd->scd.Status_CDC & 1) && mp3_handle >= 0; if (cdda_on) {