add a copy of Disa so Cyclone can be built standalone
[cyclone68000.git] / Cyclone / Main.cpp
index 29dfb3e..0e03169 100644 (file)
@@ -1,4 +1,13 @@
 \r
+// This file is part of the Cyclone 68000 Emulator\r
+\r
+// Copyright (c) 2011 FinalDave (emudave (at) gmail.com)\r
+\r
+// This code is licensed under the GNU General Public License version 2.0 and the MAME License.\r
+// You can choose the license that has the most advantages for you.\r
+\r
+// SVN repository can be found at http://code.google.com/p/cyclone68000/\r
+\r
 #include "app.h"\r
 \r
 static FILE *AsmFile=NULL;\r
@@ -13,9 +22,9 @@ int Amatch=1; // If one, try to match A68K timing
 int Accu=-1; // Accuracy\r
 int Debug=0; // Debug info\r
 \r
-void ot(char *format, ...)\r
+void ot(const char *format, ...)\r
 {\r
-  va_list valist=NULL;\r
+  va_list valist;\r
   va_start(valist,format);\r
   if (AsmFile) vfprintf(AsmFile,format,valist);\r
   va_end(valist);\r
@@ -226,6 +235,8 @@ static int CycloneMake()
 \r
   ot("\n;@ Cyclone 68000 Emulator v%x.%.3x - Assembler Output\n\n",CycloneVer>>12,CycloneVer&0xfff);\r
 \r
+  ot(";@ Copyright (c) 2011 FinalDave (emudave (at) gmail.com)\n\n");\r
+\r
   ot(";@ This code is licensed under the GNU General Public License version 2.0 and the MAME License.\n");\r
   ot(";@ You can choose the license that has the most advantages for you.\n\n");\r
   ot(";@ SVN repository can be found at http://code.google.com/p/cyclone68000/\n\n");\r