CDROM: Prevent successful seeking to the lead-out area of the disc
This commit is contained in:
parent
c3c8df14ea
commit
684e83168e
1 changed files with 6 additions and 0 deletions
|
|
@ -1310,6 +1310,12 @@ void CDROM::DoSeekComplete(TickCount ticks_late)
|
|||
seek_okay = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (subq.track_number_bcd == CDImage::LEAD_OUT_TRACK_NUMBER)
|
||||
{
|
||||
Log_WarningPrintf("Invalid seek to lead-out area (LBA %u)", m_reader.GetLastReadSector());
|
||||
seek_okay = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue