summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-05-30 17:31:52 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-05-30 17:31:52 +0000
commitc2daee96cc27154c4d09b2e0dc8efea7081a5daf (patch)
treea2ed4a574a641b338b70938f63b43b84b9301d88 /Source/Core/DiscIO
parent997ab4ada1385617c779dd0c419e03480dae1f93 (diff)
Consider 'X' as region-free.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5552 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO')
-rw-r--r--Source/Core/DiscIO/Src/VolumeCommon.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/Src/VolumeCommon.cpp b/Source/Core/DiscIO/Src/VolumeCommon.cpp
index c5c81c3cf0..de8c22334f 100644
--- a/Source/Core/DiscIO/Src/VolumeCommon.cpp
+++ b/Source/Core/DiscIO/Src/VolumeCommon.cpp
@@ -25,12 +25,14 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
// Region free - fall through to European defaults for now
case 'A':
+ case 'X': // Not a real region code. Used by DVDX 1.0 and
+ // The Homebrew Channel versions 1.0.4 and earlier.
+
// PAL
case 'D':
case 'L': // Japanese import to PAL regions
case 'M': // Japanese import to PAL regions
case 'S': // Spanish-speaking regions
- case 'X': // XIII <- uses X but is PAL rip
case 'P':
return IVolume::COUNTRY_EUROPE;
break;
@@ -45,7 +47,7 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
// NTSC
case 'E':
- case 'N': // Japanese import to PAL regions
+ case 'N': // Japanese import to USA and other NTSC regions
case 'Z': // Prince Of Persia - The Forgotten Sands (WII)
return IVolume::COUNTRY_USA;
break;