mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
DiscIO: Rename RegionSwitch/CountrySwitch
Callers don't need to know that these functions are implemented with a switch statement.
This commit is contained in:
parent
7fd1784b9a
commit
f834ef1dfe
7 changed files with 22 additions and 14 deletions
|
@ -88,7 +88,7 @@ Country VolumeWAD::GetCountry(const Partition& partition) const
|
|||
if (country_code == 2) // SYSMENU
|
||||
return TypicalCountryForRegion(GetSysMenuRegion(m_tmd.GetTitleVersion()));
|
||||
|
||||
return CountrySwitch(country_code, Platform::WiiWAD);
|
||||
return CountryCodeToCountry(country_code, Platform::WiiWAD);
|
||||
}
|
||||
|
||||
const IOS::ES::TMDReader& VolumeWAD::GetTMD(const Partition& partition) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue