mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 18:42:15 +02:00
fix comment typo
This commit is contained in:
parent
96781796d7
commit
7d06a952a3
@ -99,7 +99,7 @@ Result threadCreate(
|
|||||||
return MAKERESULT(Module_Libnx, LibnxError_OutOfMemory);
|
return MAKERESULT(Module_Libnx, LibnxError_OutOfMemory);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stack size may be unaligned in the
|
// Stack size may be unaligned in either case.
|
||||||
const size_t aligned_stack_sz = (stack_sz+0xFFF) & ~0xFFF;
|
const size_t aligned_stack_sz = (stack_sz+0xFFF) & ~0xFFF;
|
||||||
void* stack_mirror = virtmemReserveStack(aligned_stack_sz);
|
void* stack_mirror = virtmemReserveStack(aligned_stack_sz);
|
||||||
Result rc = svcMapMemory(stack_mirror, stack_mem, aligned_stack_sz);
|
Result rc = svcMapMemory(stack_mirror, stack_mem, aligned_stack_sz);
|
||||||
|
Loading…
Reference in New Issue
Block a user