This commit is contained in:
cristian64 2026-03-17 15:34:37 -04:00 committed by GitHub
commit acb687d9e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ Country VolumeDisc::GetCountry(const Partition& partition) const
{
const BootID* boot_id = static_cast<const VolumeGC*>(this)->GetTriforceBootID();
switch (boot_id->region_flags)
switch (boot_id->region_flags & 0x000000FF)
{
default:
case 0x02: // JAPAN

View File

@ -92,7 +92,7 @@ Region VolumeGC::GetRegion() const
{
if (m_is_triforce)
{
switch (m_triforce_header.region_flags)
switch (m_triforce_header.region_flags & 0x000000FF)
{
default:
case 0x02: // JAPAN