From f1a26ff6546f5393d4d057549c6fcc28bc66cccf Mon Sep 17 00:00:00 2001 From: Stevoisiak Date: Thu, 30 Oct 2014 10:35:46 -0400 Subject: 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. --- Source/Core/DiscIO/VolumeCommon.cpp | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'Source/Core/DiscIO/VolumeCommon.cpp') 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': -- cgit v1.2.3 From 695bbac36aebe23d29f9071e24011d60c4bea219 Mon Sep 17 00:00:00 2001 From: Steven Vascellaro Date: Tue, 18 Nov 2014 18:52:19 -0500 Subject: Removed SDK flag SDK is not an official Nintendo country code, and is not actually used by any official software. --- Source/Core/DiscIO/VolumeCommon.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'Source/Core/DiscIO/VolumeCommon.cpp') diff --git a/Source/Core/DiscIO/VolumeCommon.cpp b/Source/Core/DiscIO/VolumeCommon.cpp index 69a9cc8981..0956f119c9 100644 --- a/Source/Core/DiscIO/VolumeCommon.cpp +++ b/Source/Core/DiscIO/VolumeCommon.cpp @@ -62,9 +62,6 @@ IVolume::ECountry CountrySwitch(u8 CountryCode) case 'T': // Korea with English language return IVolume::COUNTRY_KOREA; - case 'O': - return IVolume::COUNTRY_SDK; - case 'W': return IVolume::COUNTRY_TAIWAN; -- cgit v1.2.3