Fixup types can include additional flags in the high bytes

This commit is contained in:
Asher Baker 2017-07-27 19:28:16 +01:00
parent e4047c3f87
commit 2e6d02ad52

View File

@ -61,7 +61,7 @@ static main()
auto i = 0, itemSize = ItemSize(pAddress); auto i = 0, itemSize = ItemSize(pAddress);
for (i = 0; i < itemSize; i++) { for (i = 0; i < itemSize; i++) {
auto pLoc = pAddress + i; auto pLoc = pAddress + i;
if (GetFixupTgtType(pLoc) == FIXUP_OFF32) { if ((GetFixupTgtType(pLoc) & FIXUP_MASK) == FIXUP_OFF32) {
sig = sig + PrintWildcards(4); sig = sig + PrintWildcards(4);
i = i + 3; i = i + 3;
} else { } else {