further improved highlighting fix

This commit is contained in:
thrust26 2021-01-02 10:20:54 +01:00
parent d13299b184
commit c4aae87f08
1 changed files with 2 additions and 1 deletions

View File

@ -309,7 +309,8 @@ bool CartDebug::disassemble(int bank, uInt16 PC, bool force)
if(i == addresses.end())
{
addresses.push_back(PC);
addDirective(Device::AccessType::CODE, PC, PC, bank);
if(!DiStella::settings.resolveCode)
addDirective(Device::AccessType::CODE, PC, PC, bank);
}
}