diff options
| author | Link Mauve <linkmauve@linkmauve.fr> | 2026-09-03 11:47:50 +0200 |
|---|---|---|
| committer | Link Mauve <linkmauve@linkmauve.fr> | 2026-09-03 11:49:13 +0200 |
| commit | e4349ae1791dec688d91c6813eeadf049a8c73ec (patch) | |
| tree | 58fb36d1747a0945908d41818e2b0a9cb29fe697 | |
| parent | a1e636d72c8469acf747ac6542f0b7ace7cea02f (diff) | |
VideoCommon: Use correct size for PE token
This token is a u16, not a u24, so let’s not display unnecessary 00
padding.
| -rw-r--r-- | Source/Core/VideoCommon/BPStructs.cpp | 4 |
1 files 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<u16>(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<u16>(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; } |
