mirror of https://github.com/PCSX2/pcsx2.git
CDVD: Partial revert change from #5142 keep read state when buffering.
This commit is contained in:
parent
ade8517429
commit
08cac6affd
|
@ -1115,6 +1115,8 @@ __fi void cdvdSectorReady()
|
||||||
|
|
||||||
if (cdvd.nextSectorsBuffered < 16)
|
if (cdvd.nextSectorsBuffered < 16)
|
||||||
CDVDSECTORREADY_INT(cdvd.ReadTime);
|
CDVDSECTORREADY_INT(cdvd.ReadTime);
|
||||||
|
else
|
||||||
|
cdvdUpdateStatus(CDVD_STATUS_PAUSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
// inlined due to being referenced in only one place.
|
// inlined due to being referenced in only one place.
|
||||||
|
@ -1238,6 +1240,9 @@ __fi void cdvdReadInterrupt()
|
||||||
cdvdSetIrq();
|
cdvdSetIrq();
|
||||||
cdvdUpdateReady(CDVD_DRIVE_READY);
|
cdvdUpdateReady(CDVD_DRIVE_READY);
|
||||||
|
|
||||||
|
if (cdvd.nextSectorsBuffered < 16)
|
||||||
|
cdvdUpdateStatus(CDVD_STATUS_READ);
|
||||||
|
else
|
||||||
cdvdUpdateStatus(CDVD_STATUS_PAUSE);
|
cdvdUpdateStatus(CDVD_STATUS_PAUSE);
|
||||||
//DevCon.Warning("Scheduling interrupt in %d cycles", cdvd.ReadTime - ((cdvd.BlockSize / 4) * 12));
|
//DevCon.Warning("Scheduling interrupt in %d cycles", cdvd.ReadTime - ((cdvd.BlockSize / 4) * 12));
|
||||||
// Timing issues on command end
|
// Timing issues on command end
|
||||||
|
|
Loading…
Reference in New Issue