diff --git a/src/xenia/kernel/util/object_table.cc b/src/xenia/kernel/util/object_table.cc index 857ca883b..20c1a9ceb 100644 --- a/src/xenia/kernel/util/object_table.cc +++ b/src/xenia/kernel/util/object_table.cc @@ -13,6 +13,7 @@ #include #include "xenia/base/byte_stream.h" +#include "xenia/base/logging.h" #include "xenia/kernel/xobject.h" #include "xenia/kernel/xthread.h" @@ -117,6 +118,8 @@ X_STATUS ObjectTable::AddHandle(XObject* object, X_HANDLE* out_handle) { // Retain so long as the object is in the table. object->Retain(); + + XELOGI("Added handle:%08X for %s", handle, typeid(*object).name()); } } @@ -200,6 +203,8 @@ X_STATUS ObjectTable::RemoveHandle(X_HANDLE handle) { object->handles().erase(handle_entry); } + XELOGI("Removed handle:%08X for %s", handle, typeid(*object).name()); + // Release now that the object has been removed from the table. object->Release(); }