[CPU] Check for null when returning machine code ptr

This commit is contained in:
Herman S.
2026-03-09 14:15:14 +09:00
parent bf6e1a81eb
commit 7e0254b36c
-1
View File
@@ -122,7 +122,6 @@ uint32_t GuestFunction::MapMachineCodeToGuestAddress(
uintptr_t host_address) const {
void* code = machine_code();
if (!code) {
assert_always("MapMachineCodeToGuestAddress called with no compiled code");
return address();
}
auto entry = LookupMachineCodeOffset(