summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-27 21:44:52 +0200
committerGitHub <noreply@github.com>2018-08-27 21:44:52 +0200
commitaf59d4bff093da44c5e061d6fe2837b6743494f3 (patch)
tree0c74b841dc1af1d4b807156f57498eb3a729a8f9
parentMerge pull request #1174 from lioncash/debug (diff)
parentsvc: Return process title ID if queried in GetInfo() (diff)
downloadyuzu-af59d4bff093da44c5e061d6fe2837b6743494f3.tar
yuzu-af59d4bff093da44c5e061d6fe2837b6743494f3.tar.gz
yuzu-af59d4bff093da44c5e061d6fe2837b6743494f3.tar.bz2
yuzu-af59d4bff093da44c5e061d6fe2837b6743494f3.tar.lz
yuzu-af59d4bff093da44c5e061d6fe2837b6743494f3.tar.xz
yuzu-af59d4bff093da44c5e061d6fe2837b6743494f3.tar.zst
yuzu-af59d4bff093da44c5e061d6fe2837b6743494f3.zip
-rw-r--r--src/core/hle/kernel/svc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 6be5c474e..cb6253398 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -319,8 +319,7 @@ static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id)
*result = Core::CurrentProcess()->is_virtual_address_memory_enabled;
break;
case GetInfoType::TitleId:
- LOG_WARNING(Kernel_SVC, "(STUBBED) Attempted to query titleid, returned 0");
- *result = 0;
+ *result = Core::CurrentProcess()->program_id;
break;
case GetInfoType::PrivilegedProcessId:
LOG_WARNING(Kernel_SVC,