From 982545d4de093fe0fd23ec1bd86a1041a066f0e9 Mon Sep 17 00:00:00 2001 From: MasaGratoR Date: Fri, 19 Sep 2025 23:13:52 +0200 Subject: [PATCH] Fix svcSetHeapSize note --- nx/include/switch/kernel/svc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nx/include/switch/kernel/svc.h b/nx/include/switch/kernel/svc.h index 67a993ab..313814fa 100644 --- a/nx/include/switch/kernel/svc.h +++ b/nx/include/switch/kernel/svc.h @@ -296,7 +296,7 @@ typedef enum { /** * @brief Set the process heap to a given size. It can both extend and shrink the heap. * @param[out] out_addr Variable to which write the address of the heap (which is randomized and fixed by the kernel) - * @param[in] size Size of the heap, must be a multiple of 0x200000 and [2.0.0+] less than 0x18000000. + * @param[in] size Size of the heap, must be a multiple of 0x200000 and [2.0.0+] less than 0x100000000. * @return Result code. * @note Syscall number 0x01. */ @@ -1594,4 +1594,4 @@ Result svcMapInsecurePhysicalMemory(void *address, u64 size); */ Result svcUnmapInsecurePhysicalMemory(void *address, u64 size); -///@} \ No newline at end of file +///@}