Fix arm.cs thumb thing

This commit is contained in:
pancake 2016-03-07 17:06:26 +01:00
parent 02abba69f1
commit d00beba767

View file

@ -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;