Added Korean handling of settings file.

Fixes issue 5215.
This commit is contained in:
parlane 2012-02-19 23:02:01 +00:00
parent b9aeba7f7c
commit c42a6f156e
1 changed files with 452 additions and 444 deletions

View File

@ -185,33 +185,41 @@ bool CBoot::SetupWiiMemory(unsigned int _CountryCode)
switch((DiscIO::IVolume::ECountry)_CountryCode) switch((DiscIO::IVolume::ECountry)_CountryCode)
{ {
case DiscIO::IVolume::COUNTRY_KOREA: case DiscIO::IVolume::COUNTRY_KOREA:
area = "KOR";
video = "NTSC";
game = "KR";
code = "LKH";
break;
case DiscIO::IVolume::COUNTRY_TAIWAN: case DiscIO::IVolume::COUNTRY_TAIWAN:
// TODO: Determine if Korea / Taiwan have their own specific settings. // TODO: Determine if Taiwan have their own specific settings.
case DiscIO::IVolume::COUNTRY_JAPAN: case DiscIO::IVolume::COUNTRY_JAPAN:
area = "JPN"; area = "JPN";
video = "NTSC"; video = "NTSC";
game = "JP";
code = "LU";
break; break;
case DiscIO::IVolume::COUNTRY_USA: case DiscIO::IVolume::COUNTRY_USA:
area = "USA"; area = "USA";
video = "NTSC"; video = "NTSC";
game = "US";
code = "LU";
break; break;
case DiscIO::IVolume::COUNTRY_EUROPE: case DiscIO::IVolume::COUNTRY_EUROPE:
area = "EUR"; area = "EUR";
video = "PAL"; video = "PAL";
game = "EU";
code = "LE";
break; break;
default: default:
// PanicAlertT("SetupWiiMem: Unknown country. Wii boot process will be switched to European settings."); // PanicAlertT("SetupWiiMem: Unknown country. Wii boot process will be switched to European settings.");
area = "EUR"; area = "EUR";
video = "PAL"; video = "PAL";
game = "EU";
code = "LE";
break; break;
} }
model = "RVL-001(" + area + ")"; model = "RVL-001(" + area + ")";
code = "L" + area.substr(0,1);
game = area.substr(0,2);
SettingsHandler gen; SettingsHandler gen;
std::string serno = ""; std::string serno = "";