Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion wine/wow64/wowbox64.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ NTSTATUS WINAPI BTCpuResetToConsistentState(EXCEPTION_POINTERS* ptrs)
}
}

if (!box64_is_addr_in_jit(ULongToPtr(ctx->Pc)))
/* The host JIT can be above 4 GiB even when the guest is 32-bit. */
if (!box64_is_addr_in_jit((void*)(uintptr_t)ctx->Pc))
return STATUS_SUCCESS;

/* Replace the host context with one captured before JIT entry so host code can unwind */
Expand Down
Loading