diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-12 18:52:31 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-12 21:44:58 +0100 |
commit | 09a219d5b4a45537502c219542a51a57d6d0c317 (patch) | |
tree | 753f76ffbf8bc98318f7db63706f6d617ded8818 /src/core/hle/kernel | |
parent | svc: Handle memory writing explicitly within QueryProcessMemory (diff) | |
download | yuzu-09a219d5b4a45537502c219542a51a57d6d0c317.tar yuzu-09a219d5b4a45537502c219542a51a57d6d0c317.tar.gz yuzu-09a219d5b4a45537502c219542a51a57d6d0c317.tar.bz2 yuzu-09a219d5b4a45537502c219542a51a57d6d0c317.tar.lz yuzu-09a219d5b4a45537502c219542a51a57d6d0c317.tar.xz yuzu-09a219d5b4a45537502c219542a51a57d6d0c317.tar.zst yuzu-09a219d5b4a45537502c219542a51a57d6d0c317.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index a1ecc4540..8b51aa2c7 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -1086,6 +1086,9 @@ static ResultCode QueryProcessMemory(VAddr memory_info_address, VAddr page_info_ Memory::Write32(memory_info_address + 16, memory_info.state); Memory::Write32(memory_info_address + 20, memory_info.attributes); Memory::Write32(memory_info_address + 24, memory_info.permission); + Memory::Write32(memory_info_address + 32, memory_info.ipc_ref_count); + Memory::Write32(memory_info_address + 28, memory_info.device_ref_count); + Memory::Write32(memory_info_address + 36, 0); // Page info appears to be currently unused by the kernel and is always set to zero. Memory::Write32(page_info_address, 0); |