Revert "[Kernel] Fixed invalid address of a native object pointer"
This reverts commit 68b3490c8b.
This commit is contained in:
@@ -333,8 +333,7 @@ uint8_t* XObject::CreateNative(uint32_t size) {
|
|||||||
header->object_type_ptr = object_type;
|
header->object_type_ptr = object_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
return memory()->TranslateVirtual(guest_object_ptr_ +
|
return memory()->TranslateVirtual(guest_object_ptr_);
|
||||||
sizeof(X_DISPATCH_HEADER));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void XObject::SetNativePointer(uint32_t native_ptr, bool uninitialized) {
|
void XObject::SetNativePointer(uint32_t native_ptr, bool uninitialized) {
|
||||||
|
|||||||
Reference in New Issue
Block a user