From e4349ae1791dec688d91c6813eeadf049a8c73ec Mon Sep 17 00:00:00 2001 From: Link Mauve Date: Thu, 3 Sep 2026 11:47:50 +0200 Subject: [PATCH] VideoCommon: Use correct size for PE token MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This token is a u16, not a u24, so let’s not display unnecessary 00 padding. --- Source/Core/VideoCommon/BPStructs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 180bc86151..72b43e8731 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -212,7 +212,7 @@ static void BPWritten(PixelShaderManager& pixel_shader_manager, XFStateManager& system.GetPixelEngine().SetToken(static_cast(bp.newvalue & 0xFFFF), false, cycles_into_future); } - DEBUG_LOG_FMT(VIDEO, "SetPEToken {:#06X}", bp.newvalue & 0xFFFF); + DEBUG_LOG_FMT(VIDEO, "SetPEToken {:#04X}", bp.newvalue & 0xFFFF); return; } case BPMEM_PE_TOKEN_INT_ID: // Pixel Engine Interrupt Token ID @@ -228,7 +228,7 @@ static void BPWritten(PixelShaderManager& pixel_shader_manager, XFStateManager& system.GetPixelEngine().SetToken(static_cast(bp.newvalue & 0xFFFF), true, cycles_into_future); } - DEBUG_LOG_FMT(VIDEO, "SetPEToken + INT {:#06X}", bp.newvalue & 0xFFFF); + DEBUG_LOG_FMT(VIDEO, "SetPEToken + INT {:#04X}", bp.newvalue & 0xFFFF); return; }