mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 22:00:18 +00:00
Fix #3516 - masm syntax was not working
This commit is contained in:
parent
52cfe459a0
commit
afbcddb508
@ -50,7 +50,7 @@ static int disassemble(RAsm *a, RAsmOp *op, const ut8 *buf, int len) {
|
||||
cs_option (cd, CS_OPT_DETAIL, CS_OPT_OFF);
|
||||
}
|
||||
if (a->syntax == R_ASM_SYNTAX_MASM) {
|
||||
#if CS_OPT_SYNTAX_MASM
|
||||
#if CS_API_MAJOR >= 4
|
||||
cs_option (cd, CS_OPT_SYNTAX, CS_OPT_SYNTAX_MASM);
|
||||
#endif
|
||||
} else if (a->syntax == R_ASM_SYNTAX_ATT) {
|
||||
|
Loading…
Reference in New Issue
Block a user