From 408173da12bb92cfd5342410ef7ae9f360ce31b5 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 --- libstratosphere/source/os/os_transfer_memory.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libstratosphere/source/os/os_transfer_memory.cpp b/libstratosphere/source/os/os_transfer_memory.cpp index 00456e34..53a23288 100644 --- a/libstratosphere/source/os/os_transfer_memory.cpp +++ b/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(); }