Fifo analyzer: Fix various XF mistakes

* 'hangle' was a typo
* Light colors include an alpha value, so they should be 8 characters, not 6
* The XF command format adds 1 to the count internally (so 0 is one word), but we need to subtract that back to produce a valid command
* XFMEM_POSTMATRICES was calculating the row by subtracting XFMEM_POSMATRICES (POS vs POST), resulting in incorrect row numbering
This commit is contained in:
Pokechu22
2022-02-08 21:10:31 -08:00
parent 3fb09e3297
commit 698def66ff
2 changed files with 9 additions and 9 deletions

View File

@ -224,7 +224,7 @@ public:
const auto [name, desc] = GetXFTransferInfo(address, count, data);
ASSERT(!name.empty());
const u32 command = address | (count << 16);
const u32 command = address | ((count - 1) << 16);
text = QStringLiteral("XF %1 ").arg(command, 8, 16, QLatin1Char('0'));