mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-11 19:03:35 +00:00
Debugger: Fixed disassembly display for relative jumps
This commit is contained in:
parent
8c209367a7
commit
ac2c5d3f52
@ -37,7 +37,7 @@ string DisassemblyInfo::ToString(uint32_t memoryAddr, shared_ptr<MemoryManager>
|
||||
}
|
||||
|
||||
if(operandValue.empty()) {
|
||||
if(_opSize == 2) {
|
||||
if(_opSize == 2 && _opMode != AddrMode::Rel) {
|
||||
operandValue += "$" + HexUtilities::ToHex((uint8_t)_opAddr);
|
||||
} else {
|
||||
operandValue += "$" + HexUtilities::ToHex((uint16_t)_opAddr);
|
||||
|
Loading…
Reference in New Issue
Block a user