mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-30 15:32:47 +00:00
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:
parent
e2b3aadad7
commit
e47c9764de
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user