unsigned char Prev[4];
unsigned char Param[8];
- unsigned char Result[8];
+ unsigned char Result[16];
unsigned char ParamC;
unsigned char ParamP;
unsigned char ResultTD[4];
unsigned char SetSector[4];
unsigned char SetSectorSeek[4];
+ unsigned char SetSectorPlay[4];
unsigned char Track;
boolean Play, Muted;
int CurTrack;
u32 eCycle;
boolean Seeked;
+
+ u8 LidCheck;
+ u8 FastForward;
+ u8 FastBackward;
+ u8 pad;
+
+ u32 LeftVol, RightVol;
} cdrStruct;
extern cdrStruct cdr;
+void cdrDecodedBufferInterrupt();
+
void cdrReset();
void cdrInterrupt();
void cdrReadInterrupt();
+void cdrRepplayInterrupt();
+void cdrLidSeekInterrupt();
+void cdrPlayInterrupt();
unsigned char cdrRead0(void);
unsigned char cdrRead1(void);
unsigned char cdrRead2(void);
// Savestate Versioning!
// If you make changes to the savestate version, please increment the value below.
-static const u32 SaveVersion = 0x8b410005;
+static const u32 SaveVersion = 0x8b410006;
int SaveState(const char *file) {
gzFile f;