summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-06-13 18:50:42 -0700
committerPokechu22 <Pokechu022@gmail.com>2022-06-14 12:22:06 -0700
commit2d774010c3db58af0601684dcb0e348cf3f638e5 (patch)
treeeefb96913afb7a3dce576d6943aa2038a2ba3bc2 /Source/Core
parent087d89225c351bd45c8ccd4550e9dc4861f6312d (diff)
DSPCodeUtil: Include the PC and hex in the "Extra code words" section
It's included in the section before, so it's helpful to supply here too.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/DSP/DSPCodeUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/DSP/DSPCodeUtil.cpp b/Source/Core/Core/DSP/DSPCodeUtil.cpp
index d196a5a5b5..074dd86c3a 100644
--- a/Source/Core/Core/DSP/DSPCodeUtil.cpp
+++ b/Source/Core/Core/DSP/DSPCodeUtil.cpp
@@ -115,7 +115,7 @@ bool Compare(const std::vector<u16>& code1, const std::vector<u16>& code2)
u16 pc = i;
std::string line;
disassembler.DisassembleOpcode(longest, &pc, line);
- fmt::print("!! {}\n", line);
+ fmt::print("!! {:04x} : {:04x} - {}\n", i, longest[i], line);
}
}
fmt::print("Equal instruction words: {} / {}\n", count_equal, min_size);