Detect Korean GC releases as Korean when possible
According to http://scanlines16.com/en/blog-3/retro-gaming/game-cube/gamecube-korean-master-list/, Korean GC releases use the following country codes: - E or W for games in English - K for games in Korean - Unknown value for games in Japanese (my guess is that they might have made the discs bit-for-bit identical to Japanese releases because the regions of these games are already set to NTSC-J) As far as I know, the GC has no Taiwanese releases, which is what the W country code is used for on the Wii. But I could be wrong. A small note: The country_byte == 'K' check in the code isn't actually necessary as long as RegionSwitchGC returns NTSC_J for 'K', but I thought it would be better to not rely on that.
This commit is contained in:
parent
ebf0f64a01
commit
c8b4645039
|
@ -67,13 +67,21 @@ Region VolumeGC::GetRegion() const
|
|||
Country VolumeGC::GetCountry(const Partition& partition) const
|
||||
{
|
||||
// The 0 that we use as a default value is mapped to COUNTRY_UNKNOWN and UNKNOWN_REGION
|
||||
const u8 country_byte = ReadSwapped<u8>(3, partition).value_or(0);
|
||||
const u8 country = ReadSwapped<u8>(3, partition).value_or(0);
|
||||
const Region region = GetRegion();
|
||||
|
||||
if (RegionSwitchGC(country_byte) != region)
|
||||
// Korean GC releases use NTSC-J.
|
||||
// E is normally used for America, but it's also used for English-language Korean GC releases.
|
||||
// K is used by games that are in the Korean language.
|
||||
// W means Taiwan for Wii games, but on the GC, it's used for English-language Korean releases.
|
||||
// (There doesn't seem to be any pattern to which of E and W is used for Korean GC releases.)
|
||||
if (region == Region::NTSC_J && (country == 'E' || country == 'K' || country == 'W'))
|
||||
return Country::COUNTRY_KOREA;
|
||||
|
||||
if (RegionSwitchGC(country) != region)
|
||||
return TypicalCountryForRegion(region);
|
||||
|
||||
return CountrySwitch(country_byte);
|
||||
return CountrySwitch(country);
|
||||
}
|
||||
|
||||
std::string VolumeGC::GetMakerID(const Partition& partition) const
|
||||
|
|
Loading…
Reference in New Issue