mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06: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:
@ -298,7 +298,8 @@ DiscIO::Region TMDReader::GetRegion() const
|
||||
if (GetTitleId() == Titles::SYSTEM_MENU)
|
||||
return DiscIO::GetSysMenuRegion(GetTitleVersion());
|
||||
|
||||
return DiscIO::RegionSwitch(static_cast<u8>(GetTitleId() & 0xff), DiscIO::Platform::WiiWAD);
|
||||
return DiscIO::CountryCodeToRegion(static_cast<u8>(GetTitleId() & 0xff),
|
||||
DiscIO::Platform::WiiWAD);
|
||||
}
|
||||
|
||||
std::string TMDReader::GetGameID() const
|
||||
|
Reference in New Issue
Block a user