From fc9f9d9a6020cd2e6a25077cf88a1d1955ef4d9c Mon Sep 17 00:00:00 2001 From: gibbed Date: Tue, 12 May 2015 06:49:40 -0500 Subject: [PATCH] This is probably more correct. Gets rid of all xobject related asserts for several games. --- src/xenia/kernel/xobject.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/kernel/xobject.cc b/src/xenia/kernel/xobject.cc index af2c85cb6..b25ca42ff 100644 --- a/src/xenia/kernel/xobject.cc +++ b/src/xenia/kernel/xobject.cc @@ -193,7 +193,7 @@ XObject* XObject::GetObject(KernelState* kernel_state, void* native_ptr, header.wait_list_blink = xe::byte_swap(header_be->wait_list_blink); if (as_type == -1) { - as_type = header.type_flags & 0xFF; + as_type = (header.type_flags >> 24) & 0xFF; } if (header.wait_list_blink & 0x1) {