Somehow this assert got removed.

This commit is contained in:
gibbed 2015-05-27 15:06:11 -05:00
parent 4280ae8adc
commit 0b75d409d2
1 changed files with 2 additions and 0 deletions

View File

@ -182,6 +182,8 @@ void XObject::SetNativePointer(uint32_t native_ptr, bool uninitialized) {
object_ref<XObject> XObject::GetNativeObject(KernelState* kernel_state, object_ref<XObject> XObject::GetNativeObject(KernelState* kernel_state,
void* native_ptr, void* native_ptr,
int32_t as_type) { int32_t as_type) {
assert_not_null(native_ptr);
// Unfortunately the XDK seems to inline some KeInitialize calls, meaning // Unfortunately the XDK seems to inline some KeInitialize calls, meaning
// we never see it and just randomly start getting passed events/timers/etc. // we never see it and just randomly start getting passed events/timers/etc.
// Luckily it seems like all other calls (Set/Reset/Wait/etc) are used and // Luckily it seems like all other calls (Set/Reset/Wait/etc) are used and