mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00: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
|
@ -145,7 +145,7 @@ Country TypicalCountryForRegion(Region region)
|
|||
}
|
||||
}
|
||||
|
||||
Region RegionSwitch(u8 country_code, Platform platform, Region expected_region)
|
||||
Region CountryCodeToRegion(u8 country_code, Platform platform, Region expected_region)
|
||||
{
|
||||
switch (country_code)
|
||||
{
|
||||
|
@ -198,7 +198,7 @@ Region RegionSwitch(u8 country_code, Platform platform, Region expected_region)
|
|||
}
|
||||
}
|
||||
|
||||
Country CountrySwitch(u8 country_code, Platform platform, Region region)
|
||||
Country CountryCodeToCountry(u8 country_code, Platform platform, Region region)
|
||||
{
|
||||
switch (country_code)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue