summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeGC.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2026-03-25 17:47:20 -0400
committerGitHub <noreply@github.com>2026-03-25 17:47:20 -0400
commit3c8a72eb18326c7da5c5aeb94902293568a74638 (patch)
treeb8d248e2bec35e4d1b9ac7bf25c65f1f24ee5305 /Source/Core/DiscIO/VolumeGC.cpp
parent88b7ad74d970f399e271cca2be103f1076c7d95e (diff)
parent3eea3a90b5a6c3f337f1eb951c63b5ca3ab9b06d (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/VolumeGC.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeGC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/VolumeGC.cpp b/Source/Core/DiscIO/VolumeGC.cpp
index 5d3d372dcf..acff07e292 100644
--- a/Source/Core/DiscIO/VolumeGC.cpp
+++ b/Source/Core/DiscIO/VolumeGC.cpp
@@ -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