summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2022-01-18 21:20:42 -0800
committerGravatar GitHub2022-01-18 21:20:42 -0800
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.gz
yuzu-b5e83bcc7bb8d079aad8c9831e29a3597817b9d5.tar.xz
yuzu-b5e83bcc7bb8d079aad8c9831e29a3597817b9d5.zip
Merge pull request #7701 from bunnei/clear-mem-pages
Kernel Memory Updates (Part 3): Clear KMemoryManager pages & other fixes
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 {
631 const auto application_pool = memory_layout.GetKernelApplicationPoolRegionPhysicalExtents(); 631 const auto application_pool = memory_layout.GetKernelApplicationPoolRegionPhysicalExtents();
632 632
633 // Initialize memory managers 633 // Initialize memory managers
634 memory_manager = std::make_unique<KMemoryManager>(); 634 memory_manager = std::make_unique<KMemoryManager>(system);
635 memory_manager->InitializeManager(KMemoryManager::Pool::Application, 635 memory_manager->InitializeManager(KMemoryManager::Pool::Application,
636 application_pool.GetAddress(), 636 application_pool.GetAddress(),
637 application_pool.GetEndAddress()); 637 application_pool.GetEndAddress());