mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
SPU Disasm: Detect sys_event_flag_set_bit syscall
This commit is contained in:
parent
775caabeeb
commit
dc80d000aa
1 changed files with 19 additions and 0 deletions
|
@ -337,6 +337,25 @@ void SPUDisAsm::WRCH(spu_opcode_t op)
|
||||||
fmt::append(last_opcode, " #%s", upd == "empty" ? "IMMEDIATE" : upd);
|
fmt::append(last_opcode, " #%s", upd == "empty" ? "IMMEDIATE" : upd);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case SPU_WrOutIntrMbox:
|
||||||
|
{
|
||||||
|
const u32 code = value._u32[3] >> 24;
|
||||||
|
|
||||||
|
if (code == 128u)
|
||||||
|
{
|
||||||
|
last_opcode += " #sys_event_flag_set_bit";
|
||||||
|
}
|
||||||
|
else if (code == 192u)
|
||||||
|
{
|
||||||
|
last_opcode += " #sys_event_flag_set_bit_impatient";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fmt::append(last_opcode, " #%s", SignedHex(value._u32[3]));
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
fmt::append(last_opcode, " #%s", SignedHex(value._u32[3]));
|
fmt::append(last_opcode, " #%s", SignedHex(value._u32[3]));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue