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:
parent
e435f56367
commit
89f1c0ce33
1 changed files with 0 additions and 2 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue