From bce4bfffb64683c1033a875d35885f4ea650c2a9 Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Wed, 26 Jun 2019 19:07:34 -0400 Subject: pm: Implement pm:shell and pm:dmnt GetApplicationPid Returns the process ID of the current application or 0 if no app is running. --- src/core/hle/service/service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle/service/service.cpp') diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index ec9d755b7..0c1af124b 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -242,7 +242,7 @@ void Init(std::shared_ptr& sm, Core::System& system, PCTL::InstallInterfaces(*sm); PCV::InstallInterfaces(*sm); PlayReport::InstallInterfaces(*sm); - PM::InstallInterfaces(*sm); + PM::InstallInterfaces(system); PSC::InstallInterfaces(*sm); PSM::InstallInterfaces(*sm); Set::InstallInterfaces(*sm); -- cgit v1.2.3