mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-19 08:50:48 +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
|
@ -77,8 +77,9 @@ bool IsNTSC(Region region);
|
|||
|
||||
Country TypicalCountryForRegion(Region region);
|
||||
// Avoid using this function if you can. Country codes aren't always reliable region indicators.
|
||||
Region RegionSwitch(u8 country_code, Platform platform, Region expected_region = Region::Unknown);
|
||||
Country CountrySwitch(u8 country_code, Platform platform, Region region = Region::Unknown);
|
||||
Region CountryCodeToRegion(u8 country_code, Platform platform,
|
||||
Region expected_region = Region::Unknown);
|
||||
Country CountryCodeToCountry(u8 country_code, Platform platform, Region region = Region::Unknown);
|
||||
|
||||
Region GetSysMenuRegion(u16 title_version);
|
||||
std::string GetSysMenuVersionString(u16 title_version);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue