summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/pm
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-11-03 19:15:51 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-11-04 21:57:16 +0100
commit64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e (patch)
tree2d5901f0a26f16175cfd629a2a4503c368e4b88c /src/core/hle/service/pm
parentMerge pull request #7282 from ameerj/core-includes (diff)
downloadyuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar
yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.gz
yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.bz2
yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.lz
yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.xz
yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.zst
yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.zip
Diffstat (limited to 'src/core/hle/service/pm')
-rw-r--r--src/core/hle/service/pm/pm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/pm/pm.cpp b/src/core/hle/service/pm/pm.cpp
index f675740b4..88fc5b5cc 100644
--- a/src/core/hle/service/pm/pm.cpp
+++ b/src/core/hle/service/pm/pm.cpp
@@ -101,7 +101,7 @@ private:
const auto process =
SearchProcessList(kernel.GetProcessList(), [title_id](const auto& proc) {
- return proc->GetTitleID() == title_id;
+ return proc->GetProgramID() == title_id;
});
if (!process.has_value()) {
@@ -152,7 +152,7 @@ private:
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(ResultSuccess);
- rb.Push((*process)->GetTitleID());
+ rb.Push((*process)->GetProgramID());
}
const std::vector<Kernel::KProcess*>& process_list;