hle: kernel: Migrate KTransferMemory to KAutoObject.

This commit is contained in:
bunnei 2021-04-17 00:52:53 -07:00
parent 83b96b7264
commit bf274faa22
12 changed files with 212 additions and 71 deletions

View file

@ -59,7 +59,8 @@ ResultVal<Handle> HandleTable::Create(Object* obj) {
case HandleType::WritableEvent:
case HandleType::ClientSession:
case HandleType::ServerSession:
case HandleType::Session: {
case HandleType::Session:
case HandleType::TransferMemory: {
Handle handle{};
Add(&handle, reinterpret_cast<KAutoObject*>(obj), {});
return MakeResult<Handle>(handle);