os: fix MapTransferMemory output not being set

This commit is contained in:
Michael Scire 2021-10-06 12:07:26 -07:00
parent 4866e80769
commit e1fbf27398

View file

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