summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWiiCrypted.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2017-03-20 14:03:04 +1300
committerGitHub <noreply@github.com>2017-03-20 14:03:04 +1300
commit8eb26d298e383a56e8a0f2be580ed2c5f69eacbf (patch)
treef818d622ab56b91cb999a0ed6e93f638bc0c7fdb /Source/Core/DiscIO/VolumeWiiCrypted.cpp
parent9da35edd159f7033becae637e47649a22d65824a (diff)
parent9d54e4a9de3b7f31a8df2e9fc6d9c3be3806aab4 (diff)
Merge pull request #5099 from JosJuice/wii-menu-strings
Display nicer version strings for the Wii Menu
Diffstat (limited to 'Source/Core/DiscIO/VolumeWiiCrypted.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWiiCrypted.cpp18
1 files changed, 3 insertions, 15 deletions
diff --git a/Source/Core/DiscIO/VolumeWiiCrypted.cpp b/Source/Core/DiscIO/VolumeWiiCrypted.cpp
index 4cf13ffa8f..31d13ba68b 100644
--- a/Source/Core/DiscIO/VolumeWiiCrypted.cpp
+++ b/Source/Core/DiscIO/VolumeWiiCrypted.cpp
@@ -174,22 +174,10 @@ Country CVolumeWiiCrypted::GetCountry() const
const Region region = GetRegion();
- if (RegionSwitchWii(country_byte) == region)
- return CountrySwitch(country_byte);
+ if (RegionSwitchWii(country_byte) != region)
+ return TypicalCountryForRegion(region);
- switch (region)
- {
- case Region::NTSC_J:
- return Country::COUNTRY_JAPAN;
- case Region::NTSC_U:
- return Country::COUNTRY_USA;
- case Region::PAL:
- return Country::COUNTRY_EUROPE;
- case Region::NTSC_K:
- return Country::COUNTRY_KOREA;
- default:
- return Country::COUNTRY_UNKNOWN;
- }
+ return CountrySwitch(country_byte);
}
std::string CVolumeWiiCrypted::GetMakerID() const