mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 16:15:36 +00:00
x86: handle SYSCALL even if there is no handler
This commit is contained in:
parent
a166c24f8e
commit
9e4ed32e8a
|
@ -950,8 +950,8 @@ void helper_syscall(CPUX86State *env, int next_eip_addend)
|
||||||
if (uc->hook_syscall_idx) {
|
if (uc->hook_syscall_idx) {
|
||||||
((uc_cb_insn_syscall_t)uc->hook_callbacks[uc->hook_syscall_idx].callback)(
|
((uc_cb_insn_syscall_t)uc->hook_callbacks[uc->hook_syscall_idx].callback)(
|
||||||
uc, uc->hook_callbacks[uc->hook_syscall_idx].user_data);
|
uc, uc->hook_callbacks[uc->hook_syscall_idx].user_data);
|
||||||
env->eip += next_eip_addend;
|
|
||||||
}
|
}
|
||||||
|
env->eip += next_eip_addend;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue