diff options
| author | JMC47 <JMC4789@gmail.com> | 2026-03-25 17:47:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-25 17:47:20 -0400 |
| commit | 3c8a72eb18326c7da5c5aeb94902293568a74638 (patch) | |
| tree | b8d248e2bec35e4d1b9ac7bf25c65f1f24ee5305 /Source/Core/DiscIO/VolumeDisc.cpp | |
| parent | 88b7ad74d970f399e271cca2be103f1076c7d95e (diff) | |
| parent | 3eea3a90b5a6c3f337f1eb951c63b5ca3ab9b06d (diff) | |
Merge pull request #14470 from cristian64/triforce_volume_region_fix
Triforce: Check only first byte in region flag.
Diffstat (limited to 'Source/Core/DiscIO/VolumeDisc.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeDisc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/VolumeDisc.cpp b/Source/Core/DiscIO/VolumeDisc.cpp index 2ec71b9fe1..e842540376 100644 --- a/Source/Core/DiscIO/VolumeDisc.cpp +++ b/Source/Core/DiscIO/VolumeDisc.cpp @@ -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 |
