Fix Jaguar CD detection for Caves of Fear

This commit is contained in:
CasualPokePlayer 2023-05-11 02:27:52 -07:00
parent 1adb2b45a2
commit 858ea372a9
1 changed files with 8 additions and 0 deletions

View File

@ -412,6 +412,14 @@ namespace BizHawk.Emulation.DiscSystem
return true;
}
}
// special case, Caves of Fear has the header 27 sectors in
_dsr.ReadLBA_2352(_disc.Sessions[2].Tracks[1].LBA + 27, data, 0);
var ss = Encoding.ASCII.GetString(data);
if (ss.Contains("ATARI APPROVED DATA HEADER ATRI") || ss.Contains("TARA IPARPVODED TA AEHDAREA RT"))
{
return true;
}
}
return false;