summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar Morph2021-11-04 20:34:20 -0400
committerGravatar GitHub2021-11-04 20:34:20 -0400
commit3a71ff44f82304b3e781c89fb60bd87c2c7afa3c (patch)
tree2244cf6a21d45b6bbb5c57d77e154c130e415961 /src/core/hle/kernel/svc.cpp
parentMerge pull request #7289 from ameerj/perf-stat-shutdown (diff)
parentgeneral: Get the current process program id directly from the system (diff)
downloadyuzu-3a71ff44f82304b3e781c89fb60bd87c2c7afa3c.tar.gz
yuzu-3a71ff44f82304b3e781c89fb60bd87c2c7afa3c.tar.xz
yuzu-3a71ff44f82304b3e781c89fb60bd87c2c7afa3c.zip
Merge pull request #7279 from Morph1984/system-get-program-id
general: Get the current process program id directly from the system
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index fbfe6fc1a..f9d99bc51 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -768,7 +768,7 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, Handle
768 return ResultSuccess; 768 return ResultSuccess;
769 769
770 case GetInfoType::TitleId: 770 case GetInfoType::TitleId:
771 *result = process->GetTitleID(); 771 *result = process->GetProgramID();
772 return ResultSuccess; 772 return ResultSuccess;
773 773
774 case GetInfoType::UserExceptionContextAddr: 774 case GetInfoType::UserExceptionContextAddr: