1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 02:42:09 +00:00

kern: remove stray log in SetHeapSize

This commit is contained in:
Michael Scire 2020-07-31 14:54:10 -07:00 committed by SciresM
parent e435f56367
commit 89f1c0ce33

View file

@ -22,8 +22,6 @@ namespace ams::kern::svc {
namespace { namespace {
Result SetHeapSize(uintptr_t *out_address, size_t size) { Result SetHeapSize(uintptr_t *out_address, size_t size) {
MESOSPHERE_LOG("%s: SetHeapSize(%012zx)\n", GetCurrentProcess().GetName(), size);
/* Validate size. */ /* Validate size. */
R_UNLESS(util::IsAligned(size, ams::svc::HeapSizeAlignment), svc::ResultInvalidSize()); R_UNLESS(util::IsAligned(size, ams::svc::HeapSizeAlignment), svc::ResultInvalidSize());
R_UNLESS(size < ams::kern::MainMemorySize, svc::ResultInvalidSize()); R_UNLESS(size < ams::kern::MainMemorySize, svc::ResultInvalidSize());