region detection, cd states wip, fixes, stuff
[picodrive.git] / Pico / cd / LC89510.h
index 1100149..85e1615 100644 (file)
@@ -8,9 +8,9 @@ extern "C" {
 typedef struct\r
 {\r
        unsigned char Buffer[(32 * 1024 * 2) + 2352];\r
-       unsigned int Host_Data;\r
-       unsigned int DMA_Adr;\r
-       unsigned int Stop_Watch;\r
+//     unsigned int Host_Data;         // unused\r
+//     unsigned int DMA_Adr;           // 0A\r
+//     unsigned int Stop_Watch;        // 0C\r
        unsigned int COMIN;\r
        unsigned int IFSTAT;\r
        union\r
@@ -88,6 +88,7 @@ typedef struct
                } B;\r
                unsigned int N;\r
        } CTRL;\r
+       unsigned int CDC_Decode_Reg_Read;\r
 } CDC;\r
 \r
 typedef struct\r
@@ -105,9 +106,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