mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-07 07:33:43 +00:00
No need to double-retain Ke* objects, as having them in the object table is enough.
This commit is contained in:
parent
a4865bd24a
commit
93602ed48a
1 changed files with 1 additions and 3 deletions
|
|
@ -413,9 +413,7 @@ object_ref<XObject> XObject::GetNativeObject(KernelState* kernel_state,
|
|||
// FIXME: This assumes the object contains a dispatch header (some don't!)
|
||||
StashHandle(header, object->handle());
|
||||
|
||||
// NOTE: we are double-retaining, as the object is implicitly created and
|
||||
// can never be released.
|
||||
return retain_object<XObject>(object);
|
||||
return object_ref<XObject>(object);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue