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;
|
||||
}
|
||||
|
||||
return memory()->TranslateVirtual(guest_object_ptr_ +
|
||||
sizeof(X_DISPATCH_HEADER));
|
||||
return memory()->TranslateVirtual(guest_object_ptr_);
|
||||
}
|
||||
|
||||
void XObject::SetNativePointer(uint32_t native_ptr, bool uninitialized) {
|
||||
|
||||
Reference in New Issue
Block a user