summaryrefslogtreecommitdiffstats
path: root/src/hid_core
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2024-01-27 21:11:37 +0100
committergerman77 <juangerman-13@hotmail.com>2024-01-28 16:32:46 +0100
commit12e7ee2357bc65791e774167780c9955d30f4811 (patch)
treef33ef726333c4ae7a1c195da9ddce9ebb5ca6323 /src/hid_core
parentMerge pull request #12818 from K900/small-fixes (diff)
downloadyuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar
yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar.gz
yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar.bz2
yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar.lz
yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar.xz
yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar.zst
yuzu-12e7ee2357bc65791e774167780c9955d30f4811.zip
Diffstat (limited to 'src/hid_core')
-rw-r--r--src/hid_core/resource_manager.cpp2
-rw-r--r--src/hid_core/resources/hid_firmware_settings.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/hid_core/resource_manager.cpp b/src/hid_core/resource_manager.cpp
index a2295219a..e78665d31 100644
--- a/src/hid_core/resource_manager.cpp
+++ b/src/hid_core/resource_manager.cpp
@@ -184,7 +184,7 @@ void ResourceManager::InitializeHidCommonSampler() {
keyboard->SetAppletResource(applet_resource, &shared_mutex);
const auto settings =
- system.ServiceManager().GetService<Service::Set::ISystemSettingsServer>("set:sys");
+ system.ServiceManager().GetService<Service::Set::ISystemSettingsServer>("set:sys", true);
npad->SetNpadExternals(applet_resource, &shared_mutex, handheld_config, settings);
six_axis->SetAppletResource(applet_resource, &shared_mutex);
diff --git a/src/hid_core/resources/hid_firmware_settings.cpp b/src/hid_core/resources/hid_firmware_settings.cpp
index 9c9019e8f..b32c0660a 100644
--- a/src/hid_core/resources/hid_firmware_settings.cpp
+++ b/src/hid_core/resources/hid_firmware_settings.cpp
@@ -8,7 +8,8 @@
namespace Service::HID {
HidFirmwareSettings::HidFirmwareSettings(Core::System& system) {
- m_set_sys = system.ServiceManager().GetService<Service::Set::ISystemSettingsServer>("set:sys");
+ m_set_sys =
+ system.ServiceManager().GetService<Service::Set::ISystemSettingsServer>("set:sys", true);
LoadSettings(true);
}