summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/cfg/cfg.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-12-30 04:09:01 +0100
committerGitHub <noreply@github.com>2016-12-30 04:09:01 +0100
commitf556d6ee90aae2d81cd9770c0b3259ac88ae8fe4 (patch)
tree63472a7c6dbd7bc9f77ba503800afdaf36982da5 /src/core/hle/service/cfg/cfg.h
parentMerge pull request #2367 from JayFoxRox/lighting-lut-quickfix (diff)
parentConfig: auto-select region and language (diff)
downloadyuzu-f556d6ee90aae2d81cd9770c0b3259ac88ae8fe4.tar
yuzu-f556d6ee90aae2d81cd9770c0b3259ac88ae8fe4.tar.gz
yuzu-f556d6ee90aae2d81cd9770c0b3259ac88ae8fe4.tar.bz2
yuzu-f556d6ee90aae2d81cd9770c0b3259ac88ae8fe4.tar.lz
yuzu-f556d6ee90aae2d81cd9770c0b3259ac88ae8fe4.tar.xz
yuzu-f556d6ee90aae2d81cd9770c0b3259ac88ae8fe4.tar.zst
yuzu-f556d6ee90aae2d81cd9770c0b3259ac88ae8fe4.zip
Diffstat (limited to 'src/core/hle/service/cfg/cfg.h')
-rw-r--r--src/core/hle/service/cfg/cfg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/cfg/cfg.h b/src/core/hle/service/cfg/cfg.h
index fb47c2aa5..618c9647e 100644
--- a/src/core/hle/service/cfg/cfg.h
+++ b/src/core/hle/service/cfg/cfg.h
@@ -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.