mirror of
https://github.com/libretro/Mesen.git
synced 2025-02-12 12:18:52 +00:00
Debugger: Fixed bug/crash when disassembling internal RAM content
This commit is contained in:
parent
f7aa61582b
commit
e383b5d39f
@ -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…
x
Reference in New Issue
Block a user