From 929bcbdde9505f0f6a7db63a7329a282b741dc30 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sun, 6 Oct 2024 21:56:48 -0700 Subject: [PATCH] Fifo analyzer: Fix indexed XF loads showing "bytes" instead of "words" Indexed XF loads specify the number of 32-bit words (generally floats, but light data has some integers) to load, not the number of bytes. This was only a mistake in the fifo analyzer text; the actual implementation already loaded words. --- Source/Core/VideoCommon/XFStructs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/XFStructs.cpp b/Source/Core/VideoCommon/XFStructs.cpp index e5ca9b81ea..d25d49495a 100644 --- a/Source/Core/VideoCommon/XFStructs.cpp +++ b/Source/Core/VideoCommon/XFStructs.cpp @@ -646,7 +646,7 @@ std::pair GetXFTransferInfo(u16 base_address, u8 trans std::pair GetXFIndexedLoadInfo(CPArray array, u32 index, u16 address, u8 size) { - const auto desc = fmt::format("Load {} bytes to XF address {:03x} from CP array {} row {}", size, + const auto desc = fmt::format("Load {} words to XF address {:03x} from CP array {} row {}", size, address, array, index); fmt::memory_buffer written; for (u32 i = 0; i < size; i++)