diff options
author | bunnei <bunneidev@gmail.com> | 2022-01-09 11:17:17 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-01-12 01:28:11 +0100 |
commit | 49a0e4330ee37bdfa503918f841ab9599ccc1c24 (patch) | |
tree | e38e9dc90acbbf4fa8d64ea8c30736a86f32b37b /src/core/hle/kernel/k_page_table.h | |
parent | hle: service: ldr: UnmapCodeMemory BSS only when set. (diff) | |
download | yuzu-49a0e4330ee37bdfa503918f841ab9599ccc1c24.tar yuzu-49a0e4330ee37bdfa503918f841ab9599ccc1c24.tar.gz yuzu-49a0e4330ee37bdfa503918f841ab9599ccc1c24.tar.bz2 yuzu-49a0e4330ee37bdfa503918f841ab9599ccc1c24.tar.lz yuzu-49a0e4330ee37bdfa503918f841ab9599ccc1c24.tar.xz yuzu-49a0e4330ee37bdfa503918f841ab9599ccc1c24.tar.zst yuzu-49a0e4330ee37bdfa503918f841ab9599ccc1c24.zip |
Diffstat (limited to 'src/core/hle/kernel/k_page_table.h')
-rw-r--r-- | src/core/hle/kernel/k_page_table.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_page_table.h b/src/core/hle/kernel/k_page_table.h index a596bf381..274644181 100644 --- a/src/core/hle/kernel/k_page_table.h +++ b/src/core/hle/kernel/k_page_table.h @@ -43,7 +43,8 @@ public: ResultCode MapPages(VAddr addr, KPageLinkedList& page_linked_list, KMemoryState state, KMemoryPermission perm); ResultCode UnmapPages(VAddr addr, KPageLinkedList& page_linked_list, KMemoryState state); - ResultCode SetProcessMemoryPermission(VAddr addr, std::size_t size, KMemoryPermission perm); + ResultCode SetProcessMemoryPermission(VAddr addr, std::size_t size, + Svc::MemoryPermission svc_perm); KMemoryInfo QueryInfo(VAddr addr); ResultCode ReserveTransferMemory(VAddr addr, std::size_t size, KMemoryPermission perm); ResultCode ResetTransferMemory(VAddr addr, std::size_t size); |