CDROM: Add missing disc/console region check

Fixes #106.
pull/211/head
Connor McLaughlin 5 years ago
parent 282998d0bb
commit c9e5e3a43e

@ -1301,7 +1301,8 @@ void CDROM::DoIDRead()
{
flags_byte |= (1 << 6); // Disc Missing
}
else if (m_disc_region == DiscRegion::Other)
else if (m_disc_region == DiscRegion::Other ||
m_system->GetRegion() != System::GetConsoleRegionForDiscRegion(m_disc_region))
{
stat_byte |= STAT_ID_ERROR;
flags_byte |= (1 << 7); // Unlicensed

Loading…
Cancel
Save