X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fcdrom.h;h=ab22ccd00ba829185d0717e5de69ceedd2cf15e2;hp=90523c308397b8d9eb3aa19d17a40d7c922c681a;hb=3601e36bd526c63c842f68b2ff6cac82954e5e7e;hpb=9f8b032dc5074e29f2e93ce06651f6da3bb70a86 diff --git a/libpcsxcore/cdrom.h b/libpcsxcore/cdrom.h index 90523c30..ab22ccd0 100644 --- a/libpcsxcore/cdrom.h +++ b/libpcsxcore/cdrom.h @@ -52,7 +52,7 @@ typedef struct { unsigned char StatP; unsigned char Transfer[CD_FRAMESIZE_RAW]; - unsigned char *pTransfer; + unsigned int pad1; unsigned char Prev[4]; unsigned char Param[8]; @@ -87,14 +87,15 @@ typedef struct { unsigned char Irq; u32 eCycle; - boolean Seeked; + u8 Seeked; u8 LidCheck; u8 FastForward; u8 FastBackward; u8 pad; - u32 LeftVol, RightVol; + u8 AttenuatorLeft[2], AttenuatorRight[2]; + u32 pad2; } cdrStruct; extern cdrStruct cdr; @@ -108,6 +109,7 @@ void cdrRepplayInterrupt(); void cdrLidSeekInterrupt(); void cdrPlayInterrupt(); void cdrDmaInterrupt(); +void LidInterrupt(); unsigned char cdrRead0(void); unsigned char cdrRead1(void); unsigned char cdrRead2(void);