This commit is contained in:
Gamaiel Zavala 2025-04-01 19:00:12 +10:30 committed by GitHub
commit 5d15f42a85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -655,7 +655,9 @@ namespace Mesen.Debugger.ViewModels
entries.AddEntry("Attribute address", "$" + tileInfo.AttributeAddress.ToString("X4"));
}
if(tileInfo.AttributeData >= 0) {
entries.AddEntry("Attribute data", "$" + tileInfo.AttributeData.ToString("X2"));
int attrVal = tileInfo.AttributeData;
entries.AddEntry("Attribute data", "$" + attrVal.ToString("X2"));
entries.AddEntry("Attribute bits", Convert.ToString(attrVal, 2).PadLeft(8, '0'));
}
entries.AddSeparator("MiscSeparator");