* Mednafen's timing don't work for Gundam Battle Assault 2 in PAL/50hz mode,
* seems to be timing sensitive as it can depend on the CPU's clock speed.
* */
- if (cdr.DriveState != DRIVESTATE_STANDBY)
+ if (cdr.DriveState == DRIVESTATE_STANDBY)
{
delay = 7000;
}
if (cdr.OCUP)
cdr.Ctrl |= 0x40;
-// else
-// cdr.Ctrl &= ~0x40;
+ else
+ cdr.Ctrl &= ~0x40;
// What means the 0x10 and the 0x08 bits? I only saw it used by the bios
cdr.Ctrl |= 0x18;
unsigned char ret;
if (cdr.Readed == 0) {
+ cdr.OCUP = 0;
ret = 0;
} else {
ret = *pTransfer++;