From 997ab4ada1385617c779dd0c419e03480dae1f93 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Sun, 30 May 2010 17:16:06 +0000 Subject: [PATCH] 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 --- Source/Core/DiscIO/Src/VolumeCommon.cpp | 11 +++++++++-- 1 file 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;