mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Return a more meaningful type from GetSysMenuRegion
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user