mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
DiscIO: Merge RegionSwitchGC and RegionSwitchWii
This commit is contained in:
parent
d741c239d2
commit
08d0b98988
5 changed files with 7 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue