Skip to content

Commit

Permalink
Debugger: Trace Logger - Revert change that caused hex values in log …
Browse files Browse the repository at this point in the history
…to not have the right size
  • Loading branch information
SourMesen committed Nov 8, 2024
1 parent 28b75c2 commit 63f8081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Debugger/BaseTraceLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class BaseTraceLogger : public ITraceLogger
template<typename T>
void WriteIntValue(string& output, T value, RowPart& rowPart)
{
string str = rowPart.DisplayInHex ? DebugUtilities::AddressToHex(_cpuType, value) : std::to_string(value);
string str = rowPart.DisplayInHex ? HexUtilities::ToHex(value) : std::to_string(value);
if(rowPart.MinWidth > (int)str.size()) {
if(rowPart.DisplayInHex) {
str = std::string(rowPart.MinWidth - str.size(), '0') + str;
Expand Down

0 comments on commit 63f8081

Please sign in to comment.