diff options
| author | Link Mauve <linkmauve@linkmauve.fr> | 2026-09-06 09:04:49 +0200 |
|---|---|---|
| committer | Link Mauve <linkmauve@linkmauve.fr> | 2026-09-06 09:06:48 +0200 |
| commit | 3e95d0fc16c53f3c51b6469c9419d05ca4b3401a (patch) | |
| tree | 9f4fec2662ce83cdc0291685236d7dda96920283 /Source/Core/VideoCommon/BPStructs.cpp | |
| parent | 982e8d183d8df64b641a9809ec2f3b193f94e5e5 (diff) | |
Revert "VideoCommon: Use correct size for PE token"
This reverts commit e4349ae1791dec688d91c6813eeadf049a8c73ec.
The 0x prefix is included in the characters count (unlike e.g. in Rust
where there is no 0x prefix), so that commit was wrong. Sorry about
that!
Fixes regression introduced in #14842.
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
| -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 72b43e8731..180bc86151 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 {:#04X}", bp.newvalue & 0xFFFF); + DEBUG_LOG_FMT(VIDEO, "SetPEToken {:#06X}", 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 {:#04X}", bp.newvalue & 0xFFFF); + DEBUG_LOG_FMT(VIDEO, "SetPEToken + INT {:#06X}", bp.newvalue & 0xFFFF); return; } |
