From 62cafb279a20710b59e837a1a24f644c986832ae Mon Sep 17 00:00:00 2001 From: Belal Ashraf Date: Mon, 8 Apr 2024 16:36:08 +0200 Subject: [PATCH] take in page properties by reference instead of by value --- src/core/hle/kernel/k_page_table_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/kernel/k_page_table_base.h b/src/core/hle/kernel/k_page_table_base.h index 37c745d14a..a61d59c67a 100644 --- a/src/core/hle/kernel/k_page_table_base.h +++ b/src/core/hle/kernel/k_page_table_base.h @@ -441,7 +441,7 @@ private: Svc::MemoryState state) const; Result AllocateAndMapPagesImpl(PageLinkedList* page_list, KProcessAddress address, - size_t num_pages, KMemoryPermission perm); + size_t num_pages, KPageProperties &perm); Result MapPageGroupImpl(PageLinkedList* page_list, KProcessAddress address, const KPageGroup& pg, const KPageProperties properties, bool reuse_ll);