Fix arm.cs thumb thing
This commit is contained in:
parent
02abba69f1
commit
d00beba767
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ static int disassemble(RAsm *a, RAsmOp *op, const ut8 *buf, int len) {
|
|||
}
|
||||
|
||||
// replace this with the asm.features?
|
||||
if (a->cpu && strstr (a->cpu, "no-mclass"))
|
||||
if (!a->cpu || !strstr (a->cpu, "no-mclass"))
|
||||
mode |= CS_MODE_MCLASS; // mclass by default
|
||||
if (a->cpu && strstr (a->cpu, "v8"))
|
||||
mode |= CS_MODE_V8;
|
||||
|
|
|
|||
Loading…
Reference in a new issue