Fixed bug in disassembly in zero-page RAM when accesses were made

outside the $80-$FF area.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2484 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2012-05-19 18:51:30 +00:00
parent 2724beeaa9
commit 344c672f89
1 changed files with 1 additions and 1 deletions

View File

@ -826,7 +826,7 @@ int DiStella::mark(uInt32 address, uInt8 mask, bool directive)
{ {
return 3; return 3;
} }
else if (address > 0x1000) else if (address > 0x1000 && myOffset != 0) // 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;