summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeGC.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-10-05 20:14:23 +0200
committerJosJuice <josjuice@gmail.com>2018-10-08 13:56:13 +0200
commit57d05293fd11748a7a533ad81a1b61e85e4daca6 (patch)
tree8fb47fb2cddb2b36fdf9e04e38cc03538cd31cf8 /Source/Core/DiscIO/VolumeGC.cpp
parent08d0b98988af1ff0991d660911b4a400980676d5 (diff)
DiscIO: Move the Korean GC mess out of VolumeGC
Diffstat (limited to 'Source/Core/DiscIO/VolumeGC.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeGC.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/Source/Core/DiscIO/VolumeGC.cpp b/Source/Core/DiscIO/VolumeGC.cpp
index 71506e8393..c984d60f9d 100644
--- a/Source/Core/DiscIO/VolumeGC.cpp
+++ b/Source/Core/DiscIO/VolumeGC.cpp
@@ -87,18 +87,10 @@ Country VolumeGC::GetCountry(const Partition& partition) const
const u8 country = ReadSwapped<u8>(3, partition).value_or(0);
const Region region = GetRegion();
- // Korean GC releases use NTSC-J.
- // E is normally used for America, but it's also used for English-language Korean GC releases.
- // K is used by games that are in the Korean language.
- // W means Taiwan for Wii games, but on the GC, it's used for English-language Korean releases.
- // (There doesn't seem to be any pattern to which of E and W is used for Korean GC releases.)
- if (region == Region::NTSC_J && (country == 'E' || country == 'K' || country == 'W'))
- return Country::Korea;
-
- if (RegionSwitch(country, Platform::GameCubeDisc) != region)
+ if (RegionSwitch(country, Platform::GameCubeDisc, region) != region)
return TypicalCountryForRegion(region);
- return CountrySwitch(country);
+ return CountrySwitch(country, Platform::GameCubeDisc, region);
}
std::string VolumeGC::GetMakerID(const Partition& partition) const