mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
cdrom: skip retries for ATIP read if command fails
This commit is contained in:
parent
6e8797d2ef
commit
f94a924be9
@ -391,8 +391,9 @@ retry:
|
||||
{
|
||||
cdrom_print_sense_data(sense, sizeof(sense));
|
||||
|
||||
/* INQUIRY/TEST should never fail, don't retry */
|
||||
if (cmd[0] != 0x0 && cmd[0] != 0x12)
|
||||
/* INQUIRY/TEST should never fail, don't retry. */
|
||||
/* READ ATIP seems to fail outright on some drives (BW-16D1HT) with pressed discs, skip retries. */
|
||||
if (cmd[0] != 0x0 && cmd[0] != 0x12 && !(cmd[0] == 0x43 && cmd[2] == 0x4))
|
||||
{
|
||||
unsigned char key = sense[2] & 0xF;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user