diff options
author | bunnei <bunneidev@gmail.com> | 2017-09-12 03:39:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 03:39:56 +0200 |
commit | 588077184b7f10914123864f9374510ff165e255 (patch) | |
tree | dc418aad40a79a0316fb5d01a47da7898e6b7e0e /src/core/hle/service/cfg | |
parent | Merge pull request #2922 from jroweboy/mingw-telemetry (diff) | |
parent | APT: load different shared font depending on the region (diff) | |
download | yuzu-588077184b7f10914123864f9374510ff165e255.tar yuzu-588077184b7f10914123864f9374510ff165e255.tar.gz yuzu-588077184b7f10914123864f9374510ff165e255.tar.bz2 yuzu-588077184b7f10914123864f9374510ff165e255.tar.lz yuzu-588077184b7f10914123864f9374510ff165e255.tar.xz yuzu-588077184b7f10914123864f9374510ff165e255.tar.zst yuzu-588077184b7f10914123864f9374510ff165e255.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: |