mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-23 10:52:13 +00:00
kern: Increase reserved system memory, require mesosphere for htc/tma
This commit is contained in:
parent
ce149f996c
commit
8b32b9eadf
2 changed files with 2 additions and 2 deletions
|
@ -397,7 +397,7 @@ namespace ams::kern::board::nintendo::nx {
|
||||||
}();
|
}();
|
||||||
|
|
||||||
/* Return (possibly) adjusted size. */
|
/* Return (possibly) adjusted size. */
|
||||||
constexpr size_t ExtraSystemMemoryForAtmosphere = 33_MB;
|
constexpr size_t ExtraSystemMemoryForAtmosphere = 40_MB;
|
||||||
return base_pool_size - ExtraSystemMemoryForAtmosphere - KTraceBufferSize;
|
return base_pool_size - ExtraSystemMemoryForAtmosphere - KTraceBufferSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -384,7 +384,7 @@ namespace ams::boot2 {
|
||||||
DetectAndDeclareFutureMitms();
|
DetectAndDeclareFutureMitms();
|
||||||
|
|
||||||
/* Device whether to launch tma or htc. */
|
/* Device whether to launch tma or htc. */
|
||||||
if (IsHtcEnabled()) {
|
if (svc::IsKernelMesosphere() && IsHtcEnabled()) {
|
||||||
LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Htc, ncm::StorageId::None), 0);
|
LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Htc, ncm::StorageId::None), 0);
|
||||||
} else {
|
} else {
|
||||||
LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Tma, ncm::StorageId::None), 0);
|
LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Tma, ncm::StorageId::None), 0);
|
||||||
|
|
Loading…
Reference in a new issue