summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/cfg
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-08-02 21:56:44 +0200
committerwwylele <wwylele@gmail.com>2017-09-03 11:34:11 +0200
commit59a9aaf388b71444116a42fe97a969947230908e (patch)
treec8f9a2f7af323cd555e7c587093cd9df29d062a7 /src/core/hle/service/cfg
parentMerge pull request #2909 from wwylele/telemetry-gas (diff)
downloadyuzu-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.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: