better mmuhack usage
[picodrive.git] / Pico / cd / LC89510.h
index 7acfe8a..fb84d61 100644 (file)
@@ -1,3 +1,12 @@
+/***********************************************************\r
+ *                                                         *\r
+ * This source was taken from the Gens project             *\r
+ * Written by Stéphane Dallongeville                       *\r
+ * Copyright (c) 2002 by Stéphane Dallongeville            *\r
+ * Modified/adapted for PicoDrive by notaz, 2007           *\r
+ *                                                         *\r
+ ***********************************************************/\r
+\r
 #ifndef _LC89510_H\r
 #define _LC89510_H\r
 \r
@@ -88,6 +97,7 @@ typedef struct
                } B;\r
                unsigned int N;\r
        } CTRL;\r
+       unsigned int Decode_Reg_Read;\r
 } CDC;\r
 \r
 typedef struct\r
@@ -105,9 +115,6 @@ typedef struct
 } CDD;\r
 \r
 \r
-extern int CDC_Decode_Reg_Read;\r
-\r
-\r
 void LC89510_Reset(void);\r
 unsigned short Read_CDC_Host(int is_sub);\r
 void Update_CDC_TRansfer(int which);\r