LR35902: Switch memory disassembly syntax to rgbds-style

This commit is contained in:
Vicki Pfau 2017-06-29 18:10:15 -07:00
parent 0e3abccca2
commit 54548cbc51
1 changed files with 2 additions and 2 deletions

View File

@ -496,7 +496,7 @@ static int _decodeOperand(struct LR35902Operand op, char* buffer, int blen) {
}
if (op.flags & LR35902_OP_FLAG_MEMORY) {
strncpy(buffer, "(", blen - 1);
strncpy(buffer, "[", blen - 1);
ADVANCE(1);
}
if (op.reg) {
@ -519,7 +519,7 @@ static int _decodeOperand(struct LR35902Operand op, char* buffer, int blen) {
ADVANCE(1);
}
if (op.flags & LR35902_OP_FLAG_MEMORY) {
strncpy(buffer, ")", blen - 1);
strncpy(buffer, "]", blen - 1);
ADVANCE(1);
}
return total;