PPU Analyzer: Fixup

This commit is contained in:
Eladash 2023-09-17 20:15:26 +03:00 committed by Elad Ashkenazi
parent 99c2d37b8c
commit 1e1d6f6437
2 changed files with 2 additions and 2 deletions

View File

@ -1833,7 +1833,7 @@ bool ppu_module::analyse(u32 lib_toc, u32 entry, const u32 sec_end, const std::b
if (type == ppu_itype::B || type == ppu_itype::BC)
{
if (type == ppu_itype::BC && (op.bo & 0x14) == 0x14 && op.bo & 0xd)
if (type == ppu_itype::BC && (op.bo & 0x14) == 0x14 && op.bo & 0xB)
{
// Invalid form
is_good = false;

View File

@ -1342,7 +1342,7 @@ void PPUDisAsm::BC(ppu_opcode_t op)
if (!inst)
{
fmt::append(last_opcode, "bc 0x%x, 0x%x, 0x%x, %d, %d", bo, bi, bd, aa, lk);
fmt::append(last_opcode, "%-*s 0x%x, 0x%x, 0x%x, %d, %d", PadOp(), "bc", bo, bi, bd, aa, lk);
return;
}