Config: auto-select region and language

This commit is contained in:
wwylele
2016-11-30 11:32:09 +02:00
parent 8d529a5cda
commit 84e78790ab
11 changed files with 108 additions and 7 deletions

View File

@@ -282,6 +282,13 @@ void Init();
/// Shutdown the config service
void Shutdown();
/**
* Set the region code preferred by the game so that CFG will adjust to it when the region setting
* is auto.
* @param region_code the preferred region code to set
*/
void SetPreferredRegionCode(u32 region_code);
// Utilities for frontend to set config data.
// Note: before calling these functions, LoadConfigNANDSaveFile should be called,
// and UpdateConfigNANDSavegame should be called after making changes to config data.