summaryrefslogtreecommitdiff
path: root/src/core/hle/service/ptm
diff options
context:
space:
mode:
authorGravatar bunnei2021-04-09 16:56:11 -0700
committerGravatar bunnei2021-05-05 16:40:51 -0700
commitab704acab80d17f9a8e34dcbb753d60de2a86f86 (patch)
tree41b84d29f755f19f2222bef358631f88c6f2152f /src/core/hle/service/ptm
parenthle: kernel: Use unique_ptr for suspend and dummy threads. (diff)
downloadyuzu-ab704acab80d17f9a8e34dcbb753d60de2a86f86.tar.gz
yuzu-ab704acab80d17f9a8e34dcbb753d60de2a86f86.tar.xz
yuzu-ab704acab80d17f9a8e34dcbb753d60de2a86f86.zip
hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
Diffstat (limited to 'src/core/hle/service/ptm')
-rw-r--r--src/core/hle/service/ptm/psm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/ptm/psm.cpp b/src/core/hle/service/ptm/psm.cpp
index 22e5d9749..2659ab7d5 100644
--- a/src/core/hle/service/ptm/psm.cpp
+++ b/src/core/hle/service/ptm/psm.cpp
@@ -33,6 +33,7 @@ public:
33 33
34 RegisterHandlers(functions); 34 RegisterHandlers(functions);
35 35
36 Kernel::KAutoObject::Create(std::addressof(state_change_event));
36 state_change_event.Initialize("IPsmSession::state_change_event"); 37 state_change_event.Initialize("IPsmSession::state_change_event");
37 } 38 }
38 39