summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-05-30 17:16:06 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-05-30 17:16:06 +0000
commit997ab4ada1385617c779dd0c419e03480dae1f93 (patch)
treeed7cdb2cb39705b6c29fe4d1c16d0e69ed0bc16c /Source/Core/DiscIO
parent20eda8551ad2a095d554945b4523ad1905933e59 (diff)
Mark 'A' as being region-free, but still explicitly default it to
European settings. Also try to add sensible defaults for [LMNTQ] taken from http://wiibrew.org/wiki/Title_database#Region_Codes . git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5551 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO')
-rw-r--r--Source/Core/DiscIO/Src/VolumeCommon.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/Src/VolumeCommon.cpp b/Source/Core/DiscIO/Src/VolumeCommon.cpp
index 9f6126cdcf..c5c81c3cf0 100644
--- a/Source/Core/DiscIO/Src/VolumeCommon.cpp
+++ b/Source/Core/DiscIO/Src/VolumeCommon.cpp
@@ -22,10 +22,14 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
{
switch (CountryCode)
{
- // PAL
+ // Region free - fall through to European defaults for now
case 'A':
+
+ // PAL
case 'D':
- case 'S': // <- that is shitty :) zelda demo disc
+ 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;
@@ -41,6 +45,7 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
// NTSC
case 'E':
+ case 'N': // Japanese import to PAL regions
case 'Z': // Prince Of Persia - The Forgotten Sands (WII)
return IVolume::COUNTRY_USA;
break;
@@ -50,6 +55,8 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
break;
case 'K':
+ case 'T': // Korea with English language
+ case 'Q': // Korea with Japanese language
return IVolume::COUNTRY_KOREA;
break;