mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 12:08:12 +00:00
SPU: Include BRSL following code in is_exec_code()
This commit is contained in:
parent
e625bab7eb
commit
ea0545779a
@ -4241,6 +4241,13 @@ bool spu_thread::is_exec_code(u32 addr, std::span<const u8> ls_ptr, u32 base_add
|
||||
return false;
|
||||
}
|
||||
|
||||
if (type == spu_itype::BRSL)
|
||||
{
|
||||
// Insert a virtual return-to-next, because it is usually a call
|
||||
results[1] = addr + 4;
|
||||
std::swap(results[1], results[0]);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user