mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 03:00:36 +01:00
CDVD: Partial revert change from #5142 keep read state when buffering.
This commit is contained in:
1 parent
ade8517429
commit
08cac6affd
1 file changed
+6
-1
+6
-1
@@ -1115,6 +1115,8 @@ __fi void cdvdSectorReady()
|
||||
|
||||
if (cdvd.nextSectorsBuffered < 16)
|
||||
CDVDSECTORREADY_INT(cdvd.ReadTime);
|
||||
else
|
||||
cdvdUpdateStatus(CDVD_STATUS_PAUSE);
|
||||
}
|
||||
|
||||
// inlined due to being referenced in only one place.
|
||||
@@ -1238,7 +1240,10 @@ __fi void cdvdReadInterrupt()
|
||||
cdvdSetIrq();
|
||||
cdvdUpdateReady(CDVD_DRIVE_READY);
|
||||
|
||||
cdvdUpdateStatus(CDVD_STATUS_PAUSE);
|
||||
if (cdvd.nextSectorsBuffered < 16)
|
||||
cdvdUpdateStatus(CDVD_STATUS_READ);
|
||||
else
|
||||
cdvdUpdateStatus(CDVD_STATUS_PAUSE);
|
||||
//DevCon.Warning("Scheduling interrupt in %d cycles", cdvd.ReadTime - ((cdvd.BlockSize / 4) * 12));
|
||||
// Timing issues on command end
|
||||
// Star Ocean (1.1 Japan) expects the DMA to end and interrupt at least 128 or more cycles before the CDVD command ends.
|
||||
|
||||
Reference in new issue
Block a user