summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/init
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-02-23 03:33:43 +0100
committerLiam <byteslice@airmail.cc>2023-03-01 16:42:45 +0100
commit4165ac06806017cfcb8da547ae84dee554e465c3 (patch)
tree65abe4a9faf89d5ccfd3c4be0db85defd7a90574 /src/core/hle/kernel/init
parentkernel: simplify KAbstractSchedulerLock::Lock (diff)
downloadyuzu-4165ac06806017cfcb8da547ae84dee554e465c3.tar
yuzu-4165ac06806017cfcb8da547ae84dee554e465c3.tar.gz
yuzu-4165ac06806017cfcb8da547ae84dee554e465c3.tar.bz2
yuzu-4165ac06806017cfcb8da547ae84dee554e465c3.tar.lz
yuzu-4165ac06806017cfcb8da547ae84dee554e465c3.tar.xz
yuzu-4165ac06806017cfcb8da547ae84dee554e465c3.tar.zst
yuzu-4165ac06806017cfcb8da547ae84dee554e465c3.zip
Diffstat (limited to 'src/core/hle/kernel/init')
-rw-r--r--src/core/hle/kernel/init/init_slab_setup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/init/init_slab_setup.cpp b/src/core/hle/kernel/init/init_slab_setup.cpp
index abdb5639f..be52405c6 100644
--- a/src/core/hle/kernel/init/init_slab_setup.cpp
+++ b/src/core/hle/kernel/init/init_slab_setup.cpp
@@ -131,7 +131,7 @@ VAddr InitializeSlabHeap(Core::System& system, KMemoryLayout& memory_layout, VAd
}
size_t CalculateSlabHeapGapSize() {
- constexpr size_t KernelSlabHeapGapSize = 2_MiB - 320_KiB;
+ constexpr size_t KernelSlabHeapGapSize = 2_MiB - 356_KiB;
static_assert(KernelSlabHeapGapSize <= KernelSlabHeapGapsSizeMax);
return KernelSlabHeapGapSize;
}