gp2x_test added, cli removed
[fceu.git] / nsf.h
diff --git a/nsf.h b/nsf.h
index 3333201..c7bbb19 100644 (file)
--- a/nsf.h
+++ b/nsf.h
@@ -1,53 +1,47 @@
-/* FCE Ultra - NES/Famicom Emulator
- *
- * Copyright notice for this file:
- *  Copyright (C) 2002 Ben Parnell
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
-
-typedef struct {
-                char ID[5]; /*NESM^Z*/
-                uint8 Version;
-                uint8 TotalSongs;
-                uint8 StartingSong;
-                uint8 LoadAddressLow;
-                uint8 LoadAddressHigh;
-                uint8 InitAddressLow;
-                uint8 InitAddressHigh;
-                uint8 PlayAddressLow;
-                uint8 PlayAddressHigh;
-                uint8 SongName[32];
-                uint8 Artist[32];
-                uint8 Copyright[32];
-                uint8 NTSCspeed[2];              // Unused
-                uint8 BankSwitch[8];
-                uint8 PALspeed[2];               // Unused
-                uint8 VideoSystem;
-                uint8 SoundChip;
-                uint8 Expansion[4];
-                uint8 reserve[8];
-        } NSF_HEADER;
-int NSFLoad(int fp);
-DECLFW(NSF_write);
-DECLFR(NSF_read);
-void NSF_init(void);
-extern uint8 CurrentSong;
-extern uint8 SongReload;
-void DrawNSF(uint8 *XBuf);
-void NSFControl(int z);
-extern NSF_HEADER NSFHeader;
-void NSFDealloc(void);
-void NSFDodo(void);
+/* FCE Ultra - NES/Famicom Emulator\r
+ *\r
+ * Copyright notice for this file:\r
+ *  Copyright (C) 2002 Xodnizel\r
+ *\r
+ * This program is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * This program is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program; if not, write to the Free Software\r
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+ */\r
+\r
+typedef struct {\r
+                char ID[5]; /*NESM^Z*/\r
+                uint8 Version;\r
+                uint8 TotalSongs;\r
+                uint8 StartingSong;\r
+                uint8 LoadAddressLow;\r
+                uint8 LoadAddressHigh;\r
+                uint8 InitAddressLow;\r
+                uint8 InitAddressHigh;\r
+                uint8 PlayAddressLow;\r
+                uint8 PlayAddressHigh;\r
+                uint8 SongName[32];\r
+                uint8 Artist[32];\r
+                uint8 Copyright[32];\r
+                uint8 NTSCspeed[2];        // Unused\r
+                uint8 BankSwitch[8];\r
+                uint8 PALspeed[2];         // Unused\r
+                uint8 VideoSystem;\r
+                uint8 SoundChip;\r
+                uint8 Expansion[4];\r
+                uint8 reserve[8];\r
+        } NSF_HEADER;\r
+void NSF_init(void);\r
+void DrawNSF(uint8 *XBuf);\r
+void NSFDealloc(void);\r
+void NSFDodo(void);\r
+void DoNSFFrame(void);\r