aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorNarr the Reg <[email protected]>2024-01-01 15:23:56 -0600
committerNarr the Reg <[email protected]>2024-01-03 20:21:14 -0600
commit6a244465cef86d7329f12dd1dfd5d6fdd415a0ed (patch)
tree0b69faca9aee4ab31705d07d57e55a75b1b2a809 /src/core/hle/service/hid/hid.cpp
parent148ad0cf0b08a0c41db6450f38ccb6ecf95b938a (diff)
downloadyuzu-android-6a244465cef86d7329f12dd1dfd5d6fdd415a0ed.tar.gz
yuzu-android-6a244465cef86d7329f12dd1dfd5d6fdd415a0ed.zip
service: hid: Implement NpadResource and NpadData
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r--src/core/hle/service/hid/hid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index afbcb019f..bd2873181 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -25,6 +25,7 @@ void LoopProcess(Core::System& system) {
// TODO: Remove this hack until this service is emulated properly.
const auto process_list = system.Kernel().GetProcessList();
if (!process_list.empty()) {
+ resouce_manager->Initialize();
resouce_manager->RegisterAppletResourceUserId(process_list[0]->GetId(), true);
}