From 2d774010c3db58af0601684dcb0e348cf3f638e5 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Mon, 13 Jun 2022 18:50:42 -0700 Subject: [PATCH] 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. --- Source/Core/Core/DSP/DSPCodeUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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& code1, const std::vector& 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);