mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-16 07:19:44 +00:00
DiscIO: Don't use all uppercase for enum values
Also removing some prefixes that we don't need now that we're using enum classes instead of plain enums.
This commit is contained in:
parent
c3398c9e2c
commit
4387432436
22 changed files with 254 additions and 267 deletions
|
@ -208,12 +208,11 @@ std::string SystemUpdater::GetDeviceRegion()
|
|||
if (tmd.IsValid())
|
||||
{
|
||||
const DiscIO::Region region = tmd.GetRegion();
|
||||
static const std::map<DiscIO::Region, std::string> regions = {
|
||||
{DiscIO::Region::NTSC_J, "JPN"},
|
||||
{DiscIO::Region::NTSC_U, "USA"},
|
||||
{DiscIO::Region::PAL, "EUR"},
|
||||
{DiscIO::Region::NTSC_K, "KOR"},
|
||||
{DiscIO::Region::UNKNOWN_REGION, "EUR"}};
|
||||
static const std::map<DiscIO::Region, std::string> regions = {{DiscIO::Region::NTSC_J, "JPN"},
|
||||
{DiscIO::Region::NTSC_U, "USA"},
|
||||
{DiscIO::Region::PAL, "EUR"},
|
||||
{DiscIO::Region::NTSC_K, "KOR"},
|
||||
{DiscIO::Region::Unknown, "EUR"}};
|
||||
return regions.at(region);
|
||||
}
|
||||
return "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue