mirror of https://github.com/PCSX2/pcsx2.git
CDVD: Escape descriptor read on iso read failure
This commit is contained in:
parent
5cdf0552ac
commit
ff22a32a61
|
@ -62,7 +62,10 @@ IsoDirectory::IsoDirectory(SectorSource& r)
|
|||
while (!done)
|
||||
{
|
||||
u8 sector[2048];
|
||||
internalReader.readSector(sector, i);
|
||||
// If this fails, we're not reading an iso, or it's bad.
|
||||
if (!internalReader.readSector(sector, i))
|
||||
break;
|
||||
|
||||
if (memcmp(§or[1], "CD001", 5) == 0)
|
||||
{
|
||||
switch (sector[0])
|
||||
|
|
Loading…
Reference in New Issue