all repos — mgba @ 54548cbc5133bb22e01b06491b4e7cd1bb29a9a3

mGBA Game Boy Advance Emulator

LR35902: Switch memory disassembly syntax to rgbds-style
Vicki Pfau vi@endrift.com
Thu, 29 Jun 2017 18:10:15 -0700
commit

54548cbc5133bb22e01b06491b4e7cd1bb29a9a3

parent

0e3abccca29a69bc71ae053fc6740389151d8996

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/lr35902/decoder.csrc/lr35902/decoder.c

@@ -496,7 +496,7 @@ return 0;

} if (op.flags & LR35902_OP_FLAG_MEMORY) { - strncpy(buffer, "(", blen - 1); + strncpy(buffer, "[", blen - 1); ADVANCE(1); } if (op.reg) {

@@ -519,7 +519,7 @@ strncpy(buffer, "-", blen - 1);

ADVANCE(1); } if (op.flags & LR35902_OP_FLAG_MEMORY) { - strncpy(buffer, ")", blen - 1); + strncpy(buffer, "]", blen - 1); ADVANCE(1); } return total;