mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-20 18:11:07 +00:00
Removed unneeded arm mode check
This commit is contained in:
parent
26d3b1e7d6
commit
ec6d4d9ae0
7
uc.c
7
uc.c
|
@ -506,15 +506,8 @@ uc_err uc_emu_start(uc_engine* uc, uint64_t begin, uint64_t until, uint64_t time
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case UC_ARCH_ARM:
|
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);
|
uc_reg_write(uc, UC_ARM_REG_R15, &begin);
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
case UC_ARCH_ARM64:
|
case UC_ARCH_ARM64:
|
||||||
uc_reg_write(uc, UC_ARM64_REG_PC, &begin);
|
uc_reg_write(uc, UC_ARM64_REG_PC, &begin);
|
||||||
|
|
Loading…
Reference in a new issue