SPU/PPU disasm: replace unknown instructions message with question marks

This commit is contained in:
Eladash 2020-05-22 07:21:46 +03:00 committed by Ivan
parent 2d1d36678d
commit 81749f4353
2 changed files with 3 additions and 3 deletions

View File

@ -2318,5 +2318,5 @@ void PPUDisAsm::UNK(ppu_opcode_t op)
}
}
Write(fmt::format("Unknown/Illegal opcode! (0x%08x)", op.opcode));
Write("?? ??");
}

View File

@ -966,8 +966,8 @@ public:
DisAsm("fms", spu_reg_name[op.rt4], spu_reg_name[op.ra], spu_reg_name[op.rb], spu_reg_name[op.rc]);
}
void UNK(spu_opcode_t op)
void UNK(spu_opcode_t /*op*/)
{
Write(fmt::format("Unknown/Illegal opcode! (0x%08x)", op.opcode));
Write("?? ??");
}
};