aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLiam <[email protected]>2024-02-24 00:48:44 -0500
committerLiam <[email protected]>2024-02-24 00:48:44 -0500
commit7836c0867dbccc5c9d8517e051b961deb593bd28 (patch)
tree1610c1c395d96793596a0c6ff27b73ef5a8404e5
parentd1e0039bc87a28e42b05b324d0f15dc063a898b1 (diff)
downloadyuzu-mainline-7836c0867dbccc5c9d8517e051b961deb593bd28.tar.gz
yuzu-mainline-7836c0867dbccc5c9d8517e051b961deb593bd28.zip
set: fix region code for system settings
-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,