X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2F940ctl.c;h=4bfd043c73b2dd907f14cb896b07ed632b5b5cd1;hb=f342bededbe5d51afd1632e689f5105e50d4f63e;hp=afd653f5aab714388f4e798fd25bd05d34471dd1;hpb=9615b3dfdededf2b7d74963137b6ff9495e4d21e;p=libpicofe.git diff --git a/gp2x/940ctl.c b/gp2x/940ctl.c index afd653f..4bfd043 100644 --- a/gp2x/940ctl.c +++ b/gp2x/940ctl.c @@ -275,8 +275,6 @@ void sharedmem940_finish(void) } -extern char **g_argv; - void YM2612Init_940(int baseclock, int rate) { printf("YM2612Init_940()\n"); @@ -475,9 +473,10 @@ void mp3_update(int *buffer, int length, int stereo) } -void mp3_start_play(FILE *f, int pos) // pos is 0-1023 +void mp3_start_play(void *f_, int pos) // pos is 0-1023 { int byte_offs = 0; + FILE *f = f_; if (!(PicoOpt & POPT_EN_MCD_CDDA) || f == NULL) return;