mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 17:28:19 -05: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