summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-04-10 01:50:27 +0200
committerLiam <byteslice@airmail.cc>2023-04-10 01:50:27 +0200
commitbaf4d1c22e46fa46549b9cfa9f5fedda84cce1d4 (patch)
treeca5daaf7ea8220136bae31c50843ab00ec848b57 /src/core
parentkernel: switch extended memory setting to 8GB arrangement (diff)
downloadyuzu-baf4d1c22e46fa46549b9cfa9f5fedda84cce1d4.tar
yuzu-baf4d1c22e46fa46549b9cfa9f5fedda84cce1d4.tar.gz
yuzu-baf4d1c22e46fa46549b9cfa9f5fedda84cce1d4.tar.bz2
yuzu-baf4d1c22e46fa46549b9cfa9f5fedda84cce1d4.tar.lz
yuzu-baf4d1c22e46fa46549b9cfa9f5fedda84cce1d4.tar.xz
yuzu-baf4d1c22e46fa46549b9cfa9f5fedda84cce1d4.tar.zst
yuzu-baf4d1c22e46fa46549b9cfa9f5fedda84cce1d4.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp
index 2fc12de2a..36d0d20d2 100644
--- a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp
+++ b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp
@@ -91,7 +91,8 @@ std::size_t KSystemControl::Init::GetApplicationPoolSize() {
case Smc::MemoryArrangement_6GBForAppletDev:
return 3285_MiB;
case Smc::MemoryArrangement_8GB:
- return 4916_MiB;
+ // Real kernel sets this to 4916_MiB. We are not debugging applets.
+ return 6547_MiB;
}
}();
@@ -115,7 +116,8 @@ size_t KSystemControl::Init::GetAppletPoolSize() {
case Smc::MemoryArrangement_6GBForAppletDev:
return 2193_MiB;
case Smc::MemoryArrangement_8GB:
- return 2193_MiB;
+ //! Real kernel sets this to 2193_MiB. We are not debugging applets.
+ return 562_MiB;
}
}();