aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle
diff options
context:
space:
mode:
authorNarr the Reg <[email protected]>2024-02-08 18:11:56 -0600
committerNarr the Reg <[email protected]>2024-02-08 18:50:54 -0600
commit0ac777460d8b4b3cd2b299c89ba2986f088d5e68 (patch)
treef0170dbd819fc95c104f22c51c5f4e4eb970852f /src/core/hle
parentf049453dd6cf729d4acdb703e3624abe8c855874 (diff)
downloadyuzu-android-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.gz
yuzu-android-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.zip
service: hid: Free npad applet resource
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/hid/hid_system_server.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/hle/service/hid/hid_system_server.cpp b/src/core/hle/service/hid/hid_system_server.cpp
index 22471e9e2..7126a1dcd 100644
--- a/src/core/hle/service/hid/hid_system_server.cpp
+++ b/src/core/hle/service/hid/hid_system_server.cpp
@@ -508,13 +508,8 @@ void IHidSystemServer::RegisterAppletResourceUserId(HLERequestContext& ctx) {
Result result = GetResourceManager()->RegisterAppletResourceUserId(
parameters.applet_resource_user_id, parameters.enable_input);
- if (result.IsSuccess()) {
- // result = GetResourceManager()->GetNpad()->RegisterAppletResourceUserId(
- // parameters.applet_resource_user_id);
- }
-
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(ResultSuccess);
+ rb.Push(result);
}
void IHidSystemServer::UnregisterAppletResourceUserId(HLERequestContext& ctx) {
@@ -524,8 +519,6 @@ void IHidSystemServer::UnregisterAppletResourceUserId(HLERequestContext& ctx) {
LOG_INFO(Service_HID, "called, applet_resource_user_id={}", applet_resource_user_id);
GetResourceManager()->UnregisterAppletResourceUserId(applet_resource_user_id);
- // GetResourceManager()->GetNpad()->UnregisterAppletResourceUserId(applet_resource_user_id);
- // GetResourceManager()->GetPalma()->UnregisterAppletResourceUserId(applet_resource_user_id);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);