summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWii.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/VolumeWii.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/VolumeWii.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWii.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeWii.cpp b/Source/Core/DiscIO/VolumeWii.cpp
index c64dc3ec05..29d822fca9 100644
--- a/Source/Core/DiscIO/VolumeWii.cpp
+++ b/Source/Core/DiscIO/VolumeWii.cpp
@@ -293,10 +293,10 @@ Country VolumeWii::GetCountry(const Partition& partition) const
const u8 country_byte = ReadSwapped<u8>(3, partition).value_or(0);
const Region region = GetRegion();
- if (RegionSwitch(country_byte, Platform::WiiDisc, region) != region)
+ if (CountryCodeToRegion(country_byte, Platform::WiiDisc, region) != region)
return TypicalCountryForRegion(region);
- return CountrySwitch(country_byte, Platform::WiiDisc, region);
+ return CountryCodeToCountry(country_byte, Platform::WiiDisc, region);
}
std::string VolumeWii::GetMakerID(const Partition& partition) const