summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-04 21:50:33 +0100
committerGitHub <noreply@github.com>2024-01-04 21:50:33 +0100
commit0e93cad4f09919bdcb01b78234972bbff7718e5d (patch)
treeaba09a6d8801b28dbfb6c7f5f35b4a666db6d931 /src/core/hle/service/hid/hid.cpp
parentMerge pull request #12554 from german77/directconnect (diff)
parentservice: hid: Remove data races when handling shared memory (diff)
downloadyuzu-0e93cad4f09919bdcb01b78234972bbff7718e5d.tar
yuzu-0e93cad4f09919bdcb01b78234972bbff7718e5d.tar.gz
yuzu-0e93cad4f09919bdcb01b78234972bbff7718e5d.tar.bz2
yuzu-0e93cad4f09919bdcb01b78234972bbff7718e5d.tar.lz
yuzu-0e93cad4f09919bdcb01b78234972bbff7718e5d.tar.xz
yuzu-0e93cad4f09919bdcb01b78234972bbff7718e5d.tar.zst
yuzu-0e93cad4f09919bdcb01b78234972bbff7718e5d.zip
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);
}