summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-22 01:15:53 +0100
committerGitHub <noreply@github.com>2024-01-22 01:15:53 +0100
commit57ff934f0d356fda9a5c381eee6032500e24dcf8 (patch)
tree4e021ddda3f833ad155e367f3f9e00d3732669ae /src/core/hle
parentMerge pull request #12735 from german77/disable-vibration (diff)
parentservice: hid: Implement EnableAppletForInput (diff)
downloadyuzu-57ff934f0d356fda9a5c381eee6032500e24dcf8.tar
yuzu-57ff934f0d356fda9a5c381eee6032500e24dcf8.tar.gz
yuzu-57ff934f0d356fda9a5c381eee6032500e24dcf8.tar.bz2
yuzu-57ff934f0d356fda9a5c381eee6032500e24dcf8.tar.lz
yuzu-57ff934f0d356fda9a5c381eee6032500e24dcf8.tar.xz
yuzu-57ff934f0d356fda9a5c381eee6032500e24dcf8.tar.zst
yuzu-57ff934f0d356fda9a5c381eee6032500e24dcf8.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/hid/hid_system_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hid_system_server.cpp b/src/core/hle/service/hid/hid_system_server.cpp
index 4466a189b..bf27ddfbf 100644
--- a/src/core/hle/service/hid/hid_system_server.cpp
+++ b/src/core/hle/service/hid/hid_system_server.cpp
@@ -533,7 +533,7 @@ void IHidSystemServer::EnableAppletToGetInput(HLERequestContext& ctx) {
parameters.is_enabled, parameters.applet_resource_user_id);
GetResourceManager()->EnableInput(parameters.applet_resource_user_id, parameters.is_enabled);
- // GetResourceManager()->GetNpad()->EnableInput(parameters.applet_resource_user_id);
+ GetResourceManager()->GetNpad()->EnableAppletToGetInput(parameters.applet_resource_user_id);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
@@ -596,7 +596,7 @@ void IHidSystemServer::EnableAppletToGetPadInput(HLERequestContext& ctx) {
parameters.is_enabled, parameters.applet_resource_user_id);
GetResourceManager()->EnablePadInput(parameters.applet_resource_user_id, parameters.is_enabled);
- // GetResourceManager()->GetNpad()->EnableInput(parameters.applet_resource_user_id);
+ GetResourceManager()->GetNpad()->EnableAppletToGetInput(parameters.applet_resource_user_id);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);