Debugger: Fixed bug/crash when disassembling internal RAM content
This commit is contained in:
parent
f7aa61582b
commit
e383b5d39f
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ string Disassembler::GetCode(uint32_t startAddr, uint32_t endAddr, uint16_t memo
|
|||
if(byteCount == 0) {
|
||||
output << std::hex << std::uppercase << memoryAddr << ":" << addr << "::" << ".db";
|
||||
}
|
||||
output << std::hex << " $" << std::setfill('0') << std::setw(2) << (short)source[addr];
|
||||
output << std::hex << " $" << std::setfill('0') << std::setw(2) << (short)source[addr&mask];
|
||||
|
||||
byteCount++;
|
||||
addr++;
|
||||
|
|
Loading…
Add table
Reference in a new issue