aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNarr the Reg <[email protected]>2024-02-24 11:40:31 -0600
committerGitHub <[email protected]>2024-02-24 11:40:31 -0600
commit7b68d7d46792d9e59e0860a94a8a127f735b734d (patch)
tree1610c1c395d96793596a0c6ff27b73ef5a8404e5 /src
parentd1e0039bc87a28e42b05b324d0f15dc063a898b1 (diff)
parent7836c0867dbccc5c9d8517e051b961deb593bd28 (diff)
downloadyuzu-android-7b68d7d46792d9e59e0860a94a8a127f735b734d.tar.gz
yuzu-android-7b68d7d46792d9e59e0860a94a8a127f735b734d.zip
Merge pull request #13150 from liamwhite/region
set: fix region code for system settings
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/set/system_settings_server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/set/system_settings_server.cpp b/src/core/hle/service/set/system_settings_server.cpp
index 45def67db..a4475441e 100644
--- a/src/core/hle/service/set/system_settings_server.cpp
+++ b/src/core/hle/service/set/system_settings_server.cpp
@@ -307,6 +307,9 @@ ISystemSettingsServer::ISystemSettingsServer(Core::System& system_)
SetupSettings();
+ m_system_settings.region_code =
+ static_cast<SystemRegionCode>(Settings::values.region_index.GetValue());
+
// TODO: Remove this when starter applet is fully functional
EulaVersion eula_version{
.version = 0x10000,