diff options
Diffstat (limited to 'lib/arm/dis-main.inc.h')
-rw-r--r-- | lib/arm/dis-main.inc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arm/dis-main.inc.h b/lib/arm/dis-main.inc.h index bf2767e..c9fe983 100644 --- a/lib/arm/dis-main.inc.h +++ b/lib/arm/dis-main.inc.h @@ -4,7 +4,7 @@ static INLINE void P(dis)(tdis_ctx ctx) { if (ctx->arch.pc_low_bit) { - uint16_t op = *(uint16_t *) ctx->ptr; + uint16_t op = *(uint16_t *) ctx->base.ptr; bool is_32 = (op >> 13 & 7) == 7 && (op >> 11 & 3) != 0; if (is_32) return P(dis_thumb2)(ctx); |