diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-09 01:11:56 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-09 01:50:54 +0100 |
commit | 0ac777460d8b4b3cd2b299c89ba2986f088d5e68 (patch) | |
tree | f0170dbd819fc95c104f22c51c5f4e4eb970852f /src/hid_core/resource_manager.cpp | |
parent | Merge pull request #12903 from liamwhite/const-offset (diff) | |
download | yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.gz yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.bz2 yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.lz yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.xz yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.zst yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.zip |
Diffstat (limited to 'src/hid_core/resource_manager.cpp')
-rw-r--r-- | src/hid_core/resource_manager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hid_core/resource_manager.cpp b/src/hid_core/resource_manager.cpp index 245da582e..01261ba97 100644 --- a/src/hid_core/resource_manager.cpp +++ b/src/hid_core/resource_manager.cpp @@ -314,6 +314,7 @@ void ResourceManager::UnregisterAppletResourceUserId(u64 aruid) { std::scoped_lock lock{shared_mutex}; applet_resource->UnregisterAppletResourceUserId(aruid); npad->UnregisterAppletResourceUserId(aruid); + // palma->UnregisterAppletResourceUserId(aruid); } Result ResourceManager::GetSharedMemoryHandle(Kernel::KSharedMemory** out_handle, u64 aruid) { @@ -324,6 +325,7 @@ Result ResourceManager::GetSharedMemoryHandle(Kernel::KSharedMemory** out_handle void ResourceManager::FreeAppletResourceId(u64 aruid) { std::scoped_lock lock{shared_mutex}; applet_resource->FreeAppletResourceId(aruid); + npad->FreeAppletResourceId(aruid); } void ResourceManager::EnableInput(u64 aruid, bool is_enabled) { |