PPU Analyzer: Revert TRAP detection change

This commit is contained in:
Eladash 2023-09-02 09:01:35 +03:00 committed by Elad Ashkenazi
parent 5e110f2844
commit deacf76ca4
2 changed files with 2 additions and 2 deletions

View file

@ -1397,7 +1397,7 @@ bool ppu_module::analyse(u32 lib_toc, u32 entry, const u32 sec_end, const std::b
}
else if (type & ppu_itype::trap)
{
if (op.bo != 31)
if (op.opcode != ppu_instructions::TRAP())
{
add_block(_ptr.addr());
}