From ec6d4d9ae016a884682f3fe31476a287d457782f Mon Sep 17 00:00:00 2001 From: xorstream Date: Sun, 24 Jan 2016 22:36:37 +1100 Subject: [PATCH] Removed unneeded arm mode check --- uc.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/uc.c b/uc.c index 1a419e8c..06c15f7e 100644 --- a/uc.c +++ b/uc.c @@ -506,14 +506,7 @@ uc_err uc_emu_start(uc_engine* uc, uint64_t begin, uint64_t until, uint64_t time break; case UC_ARCH_ARM: - switch(uc->mode) { - default: - break; - case UC_MODE_THUMB: - case UC_MODE_ARM: - uc_reg_write(uc, UC_ARM_REG_R15, &begin); - break; - } + uc_reg_write(uc, UC_ARM_REG_R15, &begin); break; case UC_ARCH_ARM64: