arm: fix a bug in the last commit

This commit is contained in:
Nguyen Anh Quynh 2015-01-21 12:16:15 +08:00
parent e19490e8f7
commit 7bbb4336a8

View File

@ -250,7 +250,7 @@ void ARM_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci)
// check if this insn requests write-back
if (mci->writeback || (strrchr(insn_asm, '!')) != NULL) {
insn->detail->arm.writeback = true;
} else if (MI->csh->mode & CS_MODE_THUMB) {
} else if (mci->csh->mode & CS_MODE_THUMB) {
// handle some special instructions with writeback
switch(mci->Opcode) {
default: