h8500dasm.cpp: Fix silly mistake in disassembly of illegal instructions

This commit is contained in:
AJR 2023-03-19 11:57:39 -04:00
parent 7ccaa1c49e
commit e76f2c9a30

View File

@ -426,7 +426,7 @@ offs_t h8500_disassembler::dasm_immop(std::ostream &stream, offs_t pc, bool w, c
return (w ? 4 : 3) | SUPPORTED;
}
else
return dasm_illegal(stream, w ? 0x04 : 0x0c);
return dasm_illegal(stream, w ? 0x0c : 0x04);
}
offs_t h8500_disassembler::disassemble(std::ostream &stream, offs_t pc, const h8500_disassembler::data_buffer &opcodes, const h8500_disassembler::data_buffer &params)