summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeGC.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-10-08 13:51:21 +0200
committerJosJuice <josjuice@gmail.com>2018-10-12 12:32:22 +0200
commitf834ef1dfede5b1f010314810845c97715eabae7 (patch)
treef8b1d315a6f7a176d7290c64b64a222454f9af6b /Source/Core/DiscIO/VolumeGC.cpp
parent7fd1784b9af49ecfbe98f6f0b589e1f462ca8520 (diff)
DiscIO: Rename RegionSwitch/CountrySwitch
Callers don't need to know that these functions are implemented with a switch statement.
Diffstat (limited to 'Source/Core/DiscIO/VolumeGC.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeGC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeGC.cpp b/Source/Core/DiscIO/VolumeGC.cpp
index c984d60f9d..1275fcfb78 100644
--- a/Source/Core/DiscIO/VolumeGC.cpp
+++ b/Source/Core/DiscIO/VolumeGC.cpp
@@ -87,10 +87,10 @@ Country VolumeGC::GetCountry(const Partition& partition) const
const u8 country = ReadSwapped<u8>(3, partition).value_or(0);
const Region region = GetRegion();
- if (RegionSwitch(country, Platform::GameCubeDisc, region) != region)
+ if (CountryCodeToRegion(country, Platform::GameCubeDisc, region) != region)
return TypicalCountryForRegion(region);
- return CountrySwitch(country, Platform::GameCubeDisc, region);
+ return CountryCodeToCountry(country, Platform::GameCubeDisc, region);
}
std::string VolumeGC::GetMakerID(const Partition& partition) const