diff options
author | wwylele <wwylele@gmail.com> | 2017-08-02 21:56:44 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-09-03 11:34:11 +0200 |
commit | 59a9aaf388b71444116a42fe97a969947230908e (patch) | |
tree | c8f9a2f7af323cd555e7c587093cd9df29d062a7 /src/core/hle/service/cfg | |
parent | Merge pull request #2909 from wwylele/telemetry-gas (diff) | |
download | yuzu-59a9aaf388b71444116a42fe97a969947230908e.tar yuzu-59a9aaf388b71444116a42fe97a969947230908e.tar.gz yuzu-59a9aaf388b71444116a42fe97a969947230908e.tar.bz2 yuzu-59a9aaf388b71444116a42fe97a969947230908e.tar.lz yuzu-59a9aaf388b71444116a42fe97a969947230908e.tar.xz yuzu-59a9aaf388b71444116a42fe97a969947230908e.tar.zst yuzu-59a9aaf388b71444116a42fe97a969947230908e.zip |
Diffstat (limited to 'src/core/hle/service/cfg')
-rw-r--r-- | src/core/hle/service/cfg/cfg.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/cfg/cfg.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp index 3dbeb27cc..f26a1f65f 100644 --- a/src/core/hle/service/cfg/cfg.cpp +++ b/src/core/hle/service/cfg/cfg.cpp @@ -168,7 +168,7 @@ void GetCountryCodeID(Service::Interface* self) { cmd_buff[2] = country_code_id; } -static u32 GetRegionValue() { +u32 GetRegionValue() { if (Settings::values.region_value == Settings::REGION_VALUE_AUTO_SELECT) return preferred_region_code; diff --git a/src/core/hle/service/cfg/cfg.h b/src/core/hle/service/cfg/cfg.h index 1659ebf32..282b6936b 100644 --- a/src/core/hle/service/cfg/cfg.h +++ b/src/core/hle/service/cfg/cfg.h @@ -101,6 +101,8 @@ void GetCountryCodeString(Service::Interface* self); */ void GetCountryCodeID(Service::Interface* self); +u32 GetRegionValue(); + /** * CFG::SecureInfoGetRegion service function * Inputs: |