summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-19 06:20:42 +0100
committerGitHub <noreply@github.com>2022-01-19 06:20:42 +0100
commitb5e83bcc7bb8d079aad8c9831e29a3597817b9d5 (patch)
tree270b47c58f3e704fa20cd7c813f0a1a0a53cd766 /src/core/hle/kernel/kernel.cpp
parentMerge pull request #7715 from gidoly/patch-4 (diff)
parenthle: kernel: k_memory_manager: Clear pages on allocation & free. (diff)
downloadyuzu-b5e83bcc7bb8d079aad8c9831e29a3597817b9d5.tar
yuzu-b5e83bcc7bb8d079aad8c9831e29a3597817b9d5.tar.gz
yuzu-b5e83bcc7bb8d079aad8c9831e29a3597817b9d5.tar.bz2
yuzu-b5e83bcc7bb8d079aad8c9831e29a3597817b9d5.tar.lz
yuzu-b5e83bcc7bb8d079aad8c9831e29a3597817b9d5.tar.xz
yuzu-b5e83bcc7bb8d079aad8c9831e29a3597817b9d5.tar.zst
yuzu-b5e83bcc7bb8d079aad8c9831e29a3597817b9d5.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r--src/core/hle/kernel/kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index e5cf9abb3..887c1fd27 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -631,7 +631,7 @@ struct KernelCore::Impl {
const auto application_pool = memory_layout.GetKernelApplicationPoolRegionPhysicalExtents();
// Initialize memory managers
- memory_manager = std::make_unique<KMemoryManager>();
+ memory_manager = std::make_unique<KMemoryManager>(system);
memory_manager->InitializeManager(KMemoryManager::Pool::Application,
application_pool.GetAddress(),
application_pool.GetEndAddress());