Debugger: Do not display code in ram with a green (unexecuted) background

This commit is contained in:
Souryo 2016-12-21 20:14:30 -05:00
parent 1f56cdab86
commit 54d0f4d0a5

View file

@ -342,7 +342,7 @@ string Disassembler::GetCode(uint32_t startAddr, uint32_t endAddr, uint16_t memo
output += labelLine;
string effectiveAddress = showEffectiveAddresses ? info->GetEffectiveAddressString(cpuState, memoryManager, labelManager) : "";
output += GetLine(" " + info->ToString(memoryAddr, memoryManager, labelManager), commentString, memoryAddr, addr, info->GetByteCode(), effectiveAddress, speculativeCode);
output += GetLine(" " + info->ToString(memoryAddr, memoryManager, labelManager), commentString, memoryAddr, source != _internalRam ? addr : -1, info->GetByteCode(), effectiveAddress, speculativeCode);
if(info->IsSubExitPoint()) {
output += GetLine("__sub end__") + GetLine();