summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/cfg
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-09-12 03:39:56 +0200
committerGitHub <noreply@github.com>2017-09-12 03:39:56 +0200
commit588077184b7f10914123864f9374510ff165e255 (patch)
treedc418aad40a79a0316fb5d01a47da7898e6b7e0e /src/core/hle/service/cfg
parentMerge pull request #2922 from jroweboy/mingw-telemetry (diff)
parentAPT: load different shared font depending on the region (diff)
downloadyuzu-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.cpp2
-rw-r--r--src/core/hle/service/cfg/cfg.h2
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: