work harder to update mednafen CDC from 1.24.0-UNSTABLE more exactly

This commit is contained in:
zeromus 2020-04-09 15:55:10 -04:00
parent b3531b6dc9
commit f6a165752e
2 changed files with 1004 additions and 982 deletions

File diff suppressed because it is too large Load Diff

View File

@ -70,7 +70,6 @@ class PS_CDC
void SetLEC(bool enable) { EnableLEC = enable; }
private:
CDIF *Cur_CDIF;
ShockDiscRef* Cur_disc;
bool EnableLEC;
bool TrayOpen;
@ -123,7 +122,7 @@ class PS_CDC
uint8 SectorPipe_Pos;
uint8 SectorPipe_In;
//uint8 SubQBuf[0xC];
uint8 SubQBuf[0xC];
uint8 SubQBuf_Safe[0xC];
bool SubQChecksumOK;
@ -190,8 +189,7 @@ class PS_CDC
DS_STOPPED = 0,
DS_SEEKING,
DS_SEEKING_LOGICAL,
DS_SEEKING_LOGICAL2,
DS_PLAY_SEEKING,
DS_SEEKING_LOGICAL2,
DS_PLAYING,
DS_READING,
//DS_RESETTING
@ -267,7 +265,7 @@ class PS_CDC
static const CDC_CTEntry Commands[0x20];
int32 Command_GetStat(const int arg_count, const uint8 *args);
int32 Command_Nop(const int arg_count, const uint8 *args);
int32 Command_Setloc(const int arg_count, const uint8 *args);
int32 Command_Play(const int arg_count, const uint8 *args);
int32 Command_Forward(const int arg_count, const uint8 *args);