os: fix MapTransferMemory output not being set

This commit is contained in:
Michael Scire 2021-10-06 12:07:26 -07:00
parent 390ce66da1
commit 408173da12

View File

@ -122,6 +122,9 @@ namespace ams::os {
tmem->address = mapped_address;
tmem->state = TransferMemoryType::State_Mapped;
/* Set output address. */
*out = mapped_address;
return ResultSuccess();
}