Add utility functions for GameCube language codes

This commit is contained in:
JosJuice
2020-12-29 18:10:16 +01:00
parent 8d2b0fff8a
commit a1000afacc
4 changed files with 24 additions and 7 deletions

View File

@ -76,6 +76,9 @@ bool IsDisc(Platform volume_type);
bool IsWii(Platform volume_type);
bool IsNTSC(Region region);
int ToGameCubeLanguage(Language language);
Language FromGameCubeLanguage(int language);
Country TypicalCountryForRegion(Region region);
Region SysConfCountryToRegion(u8 country_code);
// Avoid using this function if you can. Country codes aren't always reliable region indicators.