mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 12:15:45 +00:00
hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
This commit is contained in:
parent
7d0ee9a1b1
commit
83b96b7264
31 changed files with 416 additions and 360 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue