mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-26 06:40:05 +00:00
Merge pull request #1176 from lioncash/info
svc: Return process title ID if queried in GetInfo()
This commit is contained in:
commit
af59d4bff0
@ -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;
|
*result = Core::CurrentProcess()->is_virtual_address_memory_enabled;
|
||||||
break;
|
break;
|
||||||
case GetInfoType::TitleId:
|
case GetInfoType::TitleId:
|
||||||
LOG_WARNING(Kernel_SVC, "(STUBBED) Attempted to query titleid, returned 0");
|
*result = Core::CurrentProcess()->program_id;
|
||||||
*result = 0;
|
|
||||||
break;
|
break;
|
||||||
case GetInfoType::PrivilegedProcessId:
|
case GetInfoType::PrivilegedProcessId:
|
||||||
LOG_WARNING(Kernel_SVC,
|
LOG_WARNING(Kernel_SVC,
|
||||||
|
Loading…
Reference in New Issue
Block a user