DVDThread: Set ReadError instead of BlockOOB for failed reads

With DVDInterface catching out-of-bounds reads, we can let
DVDThread use a more accurate error code for situations like
a disk failure.
This commit is contained in:
JosJuice 2021-03-09 22:40:59 +01:00
parent e2b3aadad7
commit e47c9764de
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ static void FinishRead(u64 id, s64 cycles_late)
PanicAlertFmtT("The disc could not be read (at {0:#x} - {1:#x}).", request.dvd_offset,
request.dvd_offset + request.length);
DVDInterface::SetDriveError(DVDInterface::DriveError::BlockOOB);
DVDInterface::SetDriveError(DVDInterface::DriveError::ReadError);
interrupt = DVDInterface::DIInterruptType::DEINT;
}
else