From bfd181f33ed635405bc90b9a17b8111bc0184eb0 Mon Sep 17 00:00:00 2001 From: zilmar Date: Thu, 7 Nov 2024 09:22:56 +1030 Subject: [PATCH] Core: Fix up recompiler log including 0x in number symbols --- Source/Project64-core/N64System/Recompiler/x86/x86ops.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Source/Project64-core/N64System/Recompiler/x86/x86ops.cpp b/Source/Project64-core/N64System/Recompiler/x86/x86ops.cpp index 96c31cc7a..c3255459e 100644 --- a/Source/Project64-core/N64System/Recompiler/x86/x86ops.cpp +++ b/Source/Project64-core/N64System/Recompiler/x86/x86ops.cpp @@ -823,14 +823,9 @@ asmjit::Error CX86Ops::_log(const char * data, size_t size) noexcept if (m_NumberSymbols.size() > 0 && Pos != std::string::npos) { uint32_t Value = 0; - if (AsmjitLog[Pos] == '0' && (AsmjitLog[Pos + 1] == 'x' || AsmjitLog[Pos + 1] == 'X')) - { - Pos += 2; - } - for (int i = 0; i < 8; i++) { - char c = AsmjitLog[Pos + i]; + char c = AsmjitLog[Pos + 2 + i]; if (c >= '0' && c <= '9') { Value = (Value << 4) | (c - '0');