summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeCommon.cpp
diff options
context:
space:
mode:
authorStevoisiak <Stevoisiak@gmail.com>2014-10-30 10:35:46 -0400
committerSteven Vascellaro <Stevoisiak@gmail.com>2014-11-18 19:44:16 -0500
commitf1a26ff6546f5393d4d057549c6fcc28bc66cccf (patch)
treeb515567969cc4746bd2b99f324335246fe6dd259 /Source/Core/DiscIO/VolumeCommon.cpp
parentf7d194361574c8b30800b90aba6eb360cc7e6893 (diff)
Various country flag improvements
* Added country flags for games from Netherlands and Spain * Added separate category for Region Free games (Uses European flag as placeholder) * Added missing country filter options in "show regions" menu * Rearranged country filters for readability * Incremented CACHE_REVISION Also fixed various country filters not showing up as options in the "Show regions" menu.
Diffstat (limited to 'Source/Core/DiscIO/VolumeCommon.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeCommon.cpp20
1 files changed, 12 insertions, 8 deletions
diff --git a/Source/Core/DiscIO/VolumeCommon.cpp b/Source/Core/DiscIO/VolumeCommon.cpp
index 7da110403a..69a9cc8981 100644
--- a/Source/Core/DiscIO/VolumeCommon.cpp
+++ b/Source/Core/DiscIO/VolumeCommon.cpp
@@ -15,24 +15,22 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
{
switch (CountryCode)
{
- // Region free - fall through to European defaults for now
+ // Region free - Uses European flag as placeholder
case 'A':
-
+ return IVolume::COUNTRY_INTERNATIONAL;
// PAL
- case 'D': // German
+ case 'D':
return IVolume::COUNTRY_GERMANY;
case 'X': // Used by a couple PAL games
- case 'Y': // German, french
-
+ case 'Y': // German, French
case 'L': // Japanese import to PAL regions
case 'M': // Japanese import to PAL regions
- case 'S': // Spanish-speaking regions
case 'P':
return IVolume::COUNTRY_EUROPE;
- case 'U': // Australia
+ case 'U':
return IVolume::COUNTRY_AUSTRALIA;
case 'F':
@@ -41,9 +39,15 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
case 'I':
return IVolume::COUNTRY_ITALY;
+ case 'H':
+ return IVolume::COUNTRY_NETHERLANDS;
+
case 'R':
return IVolume::COUNTRY_RUSSIA;
+ case 'S':
+ return IVolume::COUNTRY_SPAIN;
+
// NTSC
case 'E':
case 'N': // Japanese import to USA and other NTSC regions
@@ -54,8 +58,8 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
return IVolume::COUNTRY_JAPAN;
case 'K':
- case 'T': // Korea with English language
case 'Q': // Korea with Japanese language
+ case 'T': // Korea with English language
return IVolume::COUNTRY_KOREA;
case 'O':