Boot: Change pre-defined setting.txt CODE values

As suggested by
https://github.com/dolphin-emu/dolphin/pull/8673#discussion_r394945753
This commit is contained in:
JosJuice 2020-03-19 13:05:44 +01:00
parent 9709d6a353
commit 21d6c0a11a
1 changed files with 2 additions and 2 deletions

View File

@ -245,9 +245,9 @@ bool CBoot::EmulatedBS2_GC(const DiscIO::VolumeDisc& volume)
bool CBoot::SetupWiiMemory(IOS::HLE::IOSC::ConsoleType console_type)
{
static const std::map<DiscIO::Region, const RegionSetting> region_settings = {
{DiscIO::Region::NTSC_J, {"JPN", "NTSC", "JP", "LJ"}},
{DiscIO::Region::NTSC_J, {"JPN", "NTSC", "JP", "LJH"}},
{DiscIO::Region::NTSC_U, {"USA", "NTSC", "US", "LU"}},
{DiscIO::Region::PAL, {"EUR", "PAL", "EU", "LE"}},
{DiscIO::Region::PAL, {"EUR", "PAL", "EU", "LEH"}},
{DiscIO::Region::NTSC_K, {"KOR", "NTSC", "KR", "LKH"}}};
auto entryPos = region_settings.find(SConfig::GetInstance().m_region);
RegionSetting region_setting = entryPos->second;