service/cfg, citra_qt: add country code configuration

This commit is contained in:
zhupengfei
2018-07-18 14:32:56 +08:00
parent a1b1d827bf
commit e61b7d265f
5 changed files with 243 additions and 1 deletions

View File

@@ -357,6 +357,18 @@ public:
*/
SoundOutputMode GetSoundOutputMode();
/**
* Sets the country code in config savegame.
* @param country_code the country code to set
*/
void SetCountryCode(u8 country_code);
/**
* Gets the country code from config savegame.
* @returns the country code
*/
u8 GetCountryCode();
/**
* Generates a new random console unique id.
* @param random_number a random generated 16bit number stored at 0x90002, used for generating