CDVD: Add detection for PS2 Linux Disc 2

This commit is contained in:
refractionpcsx2 2021-12-28 09:28:58 +00:00
parent 18fdfc26aa
commit 32085dc009
1 changed files with 10 additions and 0 deletions

View File

@ -107,6 +107,16 @@ static int CheckDiskTypeFS(int baseType)
{
}
// PS2 Linux disc 2, doesn't have a System.CNF or a normal ELF
try
{
IsoFile file(rootdir, L"P2L_0100.02;1");
return CDVD_TYPE_PS2DVD;
}
catch (Exception::FileNotFound&)
{
}
try
{
IsoFile file(rootdir, L"PSX.EXE;1");