Skip to content
Snippets Groups Projects
Unverified Commit af59d4bf authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #1176 from lioncash/info

 svc: Return process title ID if queried in GetInfo()
parents f96ded98 e81354ae
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment