Also override the SYSCONF country setting

Fixes https://bugs.dolphin-emu.org/issues/10066
This commit is contained in:
JosJuice
2019-06-30 12:44:38 +02:00
parent 561a4cfcce
commit 393709a45a
6 changed files with 81 additions and 3 deletions

View File

@ -77,6 +77,7 @@ bool IsWii(Platform volume_type);
bool IsNTSC(Region region);
Country TypicalCountryForRegion(Region region);
Region SysConfCountryToRegion(u8 country_code);
// Avoid using this function if you can. Country codes aren't always reliable region indicators.
Region CountryCodeToRegion(u8 country_code, Platform platform,
Region expected_region = Region::Unknown,