Minor debugger fix

This commit is contained in:
Henrik Rydgård 2022-09-26 10:39:09 +02:00
parent 94e439280e
commit 9c63973c9a

View File

@ -447,7 +447,7 @@ void FormatStateRow(wchar_t *dest, const TabStateRow &info, u32 value, bool enab
swprintf(dest, 255, L"%S", texformats[value]);
}
else if ((value & 0xF) < (u32)ARRAY_SIZE(texformats)) {
swprintf(dest, 255, L"%S (extra bits %06x)", texformats[value & 0xF], value);
swprintf(dest, 255, L"%S (extra bits %06x)", texformats[value & 0xF], value & ~0xF);
}
else {
swprintf(dest, 255, L"%06x", value);