diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-27 21:44:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 21:44:52 +0200 |
commit | af59d4bff093da44c5e061d6fe2837b6743494f3 (patch) | |
tree | 0c74b841dc1af1d4b807156f57498eb3a729a8f9 /src/core | |
parent | Merge pull request #1174 from lioncash/debug (diff) | |
parent | svc: Return process title ID if queried in GetInfo() (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 3 |
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, |