mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 22:02:15 +00:00
kern: fix bug in ToMessageBuffer pointer transfer selection
This commit is contained in:
parent
4a7ce9dd75
commit
3c8d8161cc
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ namespace ams::kern {
|
|||
break;
|
||||
case ipc::MessageBuffer::MessageHeader::ReceiveListCountType_ToMessageBuffer:
|
||||
{
|
||||
const uintptr_t buf = util::AlignUp(this->msg_buffer_end, PointerTransferBufferAlignment);
|
||||
const uintptr_t buf = util::AlignUp(this->msg_buffer_end + key, PointerTransferBufferAlignment);
|
||||
|
||||
if ((buf < buf + size) && (buf + size <= this->msg_buffer_space_end)) {
|
||||
out = buf;
|
||||
|
|
Loading…
Reference in a new issue