small disassembler fix to avoid dirty mirror addresses in code

This commit is contained in:
thrust26 2024-06-14 09:19:51 +02:00
parent cd24689b20
commit 1a8f394754
1 changed files with 1 additions and 1 deletions

View File

@ -967,7 +967,7 @@ DiStella::AddressType DiStella::mark(uInt32 address, uInt16 mask, bool directive
myDirectives[address - myOffset] = mask; myDirectives[address - myOffset] = mask;
return AddressType::ROM; return AddressType::ROM;
} }
else if(address > 0x1000 && myOffset != 0) // Exclude zero-page accesses else if(address > 0x1000 && myOffset != 0 && mySettings.rFlag) // Exclude zero-page accesses
{ {
/* 2K & 4K case */ /* 2K & 4K case */
myLabels[address & myAppData.end] = myLabels[address & myAppData.end] | mask; myLabels[address & myAppData.end] = myLabels[address & myAppData.end] | mask;