mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 15:49:50 -06:00
DSPDisassembler: Remove redundant definition of CW
CW is used as a fallback to write a full instruction as hex, but we already declare it in DSPTables.h for the assembler.
This commit is contained in:
@ -152,10 +152,8 @@ bool DSPDisassembler::DisassembleOpcode(const u16* binbuf, u16* pc, std::string&
|
|||||||
|
|
||||||
// Find main opcode
|
// Find main opcode
|
||||||
const DSPOPCTemplate* opc = FindOpInfoByOpcode(op1);
|
const DSPOPCTemplate* opc = FindOpInfoByOpcode(op1);
|
||||||
const DSPOPCTemplate fake_op = {"CW", 0x0000, 0x0000, 1, 1, {{P_VAL, 2, 0, 0, 0xffff}},
|
|
||||||
false, false, false, false, false};
|
|
||||||
if (!opc)
|
if (!opc)
|
||||||
opc = &fake_op;
|
opc = &cw;
|
||||||
|
|
||||||
bool is_extended = false;
|
bool is_extended = false;
|
||||||
bool is_only_7_bit_ext = false;
|
bool is_only_7_bit_ext = false;
|
||||||
|
Reference in New Issue
Block a user