mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 16:05:47 +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;
|
||||
|
||||
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;
|
||||
}
|
||||
break;
|
||||
|
||||
case UC_ARCH_ARM64:
|
||||
uc_reg_write(uc, UC_ARM64_REG_PC, &begin);
|
||||
|
|
Loading…
Reference in a new issue