hle: kernel: Migrate KProcess to KAutoObject.

This commit is contained in:
bunnei 2021-04-03 22:22:36 -07:00
parent 8b224f05c9
commit 7a6bfbde24
14 changed files with 80 additions and 58 deletions

View file

@ -118,7 +118,7 @@ WaitTreeMutexInfo::WaitTreeMutexInfo(VAddr mutex_address, const Kernel::HandleTa
: mutex_address(mutex_address) {
mutex_value = Core::System::GetInstance().Memory().Read32(mutex_address);
owner_handle = static_cast<Kernel::Handle>(mutex_value & Kernel::Svc::HandleWaitMask);
owner = handle_table.Get<Kernel::KThread>(owner_handle);
owner = SharedFrom(handle_table.Get<Kernel::KThread>(owner_handle));
}
WaitTreeMutexInfo::~WaitTreeMutexInfo() = default;