mirror of https://github.com/mgba-emu/mgba.git
Debugger: Disassemble shifted registers in addressing mode 2
This commit is contained in:
parent
8b44ea61ab
commit
6f4a6d6372
|
@ -153,7 +153,10 @@ static int _decodeMemory(struct ARMMemoryAccess memory, int pc, char* buffer, in
|
|||
written = _decodeRegister(memory.offset.reg, buffer, blen);
|
||||
ADVANCE(written);
|
||||
}
|
||||
// TODO: shifted registers
|
||||
if (memory.format & ARM_MEMORY_SHIFTED_OFFSET) {
|
||||
written = _decodeShift(memory.offset, false, buffer, blen);
|
||||
ADVANCE(written);
|
||||
}
|
||||
|
||||
if (!(memory.format & ARM_MEMORY_POST_INCREMENT)) {
|
||||
strncpy(buffer, "]", blen - 1);
|
||||
|
|
Loading…
Reference in New Issue