From e1fbf27398933b9b532011cbbe484fe3fe732462 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 6 Oct 2021 12:07:26 -0700 Subject: [PATCH] os: fix MapTransferMemory output not being set --- libraries/libstratosphere/source/os/os_transfer_memory.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/libstratosphere/source/os/os_transfer_memory.cpp b/libraries/libstratosphere/source/os/os_transfer_memory.cpp index 00456e34e..53a232881 100644 --- a/libraries/libstratosphere/source/os/os_transfer_memory.cpp +++ b/libraries/libstratosphere/source/os/os_transfer_memory.cpp @@ -122,6 +122,9 @@ namespace ams::os { tmem->address = mapped_address; tmem->state = TransferMemoryType::State_Mapped; + /* Set output address. */ + *out = mapped_address; + return ResultSuccess(); }