mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
DiscIO: Merge RegionSwitchGC and RegionSwitchWii
This commit is contained in:
@ -145,13 +145,7 @@ Country TypicalCountryForRegion(Region region)
|
||||
}
|
||||
}
|
||||
|
||||
Region RegionSwitchGC(u8 country_code)
|
||||
{
|
||||
Region region = RegionSwitchWii(country_code);
|
||||
return region == Region::NTSC_K ? Region::NTSC_J : region;
|
||||
}
|
||||
|
||||
Region RegionSwitchWii(u8 country_code)
|
||||
Region RegionSwitch(u8 country_code, Platform platform)
|
||||
{
|
||||
switch (country_code)
|
||||
{
|
||||
@ -182,7 +176,7 @@ Region RegionSwitchWii(u8 country_code)
|
||||
case 'K':
|
||||
case 'Q':
|
||||
case 'T':
|
||||
return Region::NTSC_K;
|
||||
return platform == Platform::GameCubeDisc ? Region::NTSC_J : Region::NTSC_K;
|
||||
|
||||
default:
|
||||
return Region::Unknown;
|
||||
|
Reference in New Issue
Block a user