summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/XFStructs.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2024-10-06 21:56:48 -0700
committerPokechu22 <Pokechu022@gmail.com>2024-10-06 21:56:48 -0700
commit929bcbdde9505f0f6a7db63a7329a282b741dc30 (patch)
tree5740f5d4a2effc9a6564f50a53e43d2fdf1cac2c /Source/Core/VideoCommon/XFStructs.cpp
parent339f9311fb86aaf081f2e9ea2ca2c1a1071b35d6 (diff)
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.
Diffstat (limited to 'Source/Core/VideoCommon/XFStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/XFStructs.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string, std::string> GetXFTransferInfo(u16 base_address, u8 trans
std::pair<std::string, std::string> 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++)