DSPDisassembler: get rid of double-pass and temp file

This commit is contained in:
Michael Maltese 2017-05-15 17:12:15 -07:00
parent 898bbffaa7
commit 391c7319f5
5 changed files with 25 additions and 64 deletions

View file

@ -23,7 +23,7 @@ static bool RoundTrippableDissassemble(const std::vector<u16>& code, std::string
settings.show_pc = false;
DSP::DSPDisassembler disasm(settings);
return disasm.Disassemble(0x0000, code, 0x0000, text);
return disasm.Disassemble(code, 0x0000, text);
}
// This test goes from text ASM to binary to text ASM and once again back to binary.