Fixup DISPATCH_HEADER type_flags to its parts

This commit is contained in:
Dr. Chat
2015-06-12 19:47:28 -05:00
parent 4c9cab4346
commit f96657ef7c
3 changed files with 22 additions and 3 deletions

View File

@@ -198,7 +198,7 @@ object_ref<XObject> XObject::GetNativeObject(KernelState* kernel_state,
auto header = reinterpret_cast<X_DISPATCH_HEADER*>(native_ptr);
if (as_type == -1) {
as_type = (header->type_flags >> 24) & 0xFF;
as_type = header->type;
}
if (header->wait_list_blink & 0x1) {