summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Core/DSP/DSPAssemblyTest.cpp
diff options
context:
space:
mode:
authorMichael Maltese <mchtly@gmail.com>2017-05-15 17:12:15 -0700
committerMichael Maltese <mchtly@gmail.com>2017-06-30 01:47:01 -0700
commit391c7319f53b5f25048c2d3f9e66c9d5f2c45d19 (patch)
tree29ee9de3ecd6284fc214c28870babab1ee8ba3d0 /Source/UnitTests/Core/DSP/DSPAssemblyTest.cpp
parent898bbffaa7cd124801f4682270e1b8d38840dc24 (diff)
DSPDisassembler: get rid of double-pass and temp file
Diffstat (limited to 'Source/UnitTests/Core/DSP/DSPAssemblyTest.cpp')
-rw-r--r--Source/UnitTests/Core/DSP/DSPAssemblyTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/Core/DSP/DSPAssemblyTest.cpp b/Source/UnitTests/Core/DSP/DSPAssemblyTest.cpp
index 5d8a7838ce..b1b0ba68d8 100644
--- a/Source/UnitTests/Core/DSP/DSPAssemblyTest.cpp
+++ b/Source/UnitTests/Core/DSP/DSPAssemblyTest.cpp
@@ -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.