mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-14 00:22:39 +00:00
hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
This commit is contained in:
@@ -56,7 +56,10 @@ ResultVal<Handle> HandleTable::Create(Object* obj) {
|
||||
case HandleType::Event:
|
||||
case HandleType::Process:
|
||||
case HandleType::ReadableEvent:
|
||||
case HandleType::WritableEvent: {
|
||||
case HandleType::WritableEvent:
|
||||
case HandleType::ClientSession:
|
||||
case HandleType::ServerSession:
|
||||
case HandleType::Session: {
|
||||
Handle handle{};
|
||||
Add(&handle, reinterpret_cast<KAutoObject*>(obj), {});
|
||||
return MakeResult<Handle>(handle);
|
||||
|
||||
Reference in New Issue
Block a user