clarify PicoDrive's license
[picodrive.git] / platform / gp2x / 940ctl.c
index afd653f..88477f8 100644 (file)
@@ -1,5 +1,10 @@
-// Code for communication with ARM940 and control of it.\r
-// (c) Copyright 2007, Grazvydas "notaz" Ignotas\r
+/*\r
+ * Code for communication with ARM940 and control of it.\r
+ * (C) notaz, 2006-2009\r
+ *\r
+ * This work is licensed under the terms of MAME license.\r
+ * See COPYING file in the top-level directory.\r
+ */\r
 \r
 #include <stdio.h>\r
 #include <stdlib.h>\r
@@ -275,8 +280,6 @@ void sharedmem940_finish(void)
 }\r
 \r
 \r
-extern char **g_argv;\r
-\r
 void YM2612Init_940(int baseclock, int rate)\r
 {\r
        printf("YM2612Init_940()\n");\r
@@ -475,9 +478,10 @@ void mp3_update(int *buffer, int length, int stereo)
 }\r
 \r
 \r
-void mp3_start_play(FILE *f, int pos) // pos is 0-1023\r
+void mp3_start_play(void *f_, int pos) // pos is 0-1023\r
 {\r
        int byte_offs = 0;\r
+       FILE *f = f_;\r
 \r
        if (!(PicoOpt & POPT_EN_MCD_CDDA) || f == NULL)\r
                return;\r