mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-22 23:55:35 +00:00
parent
b93ca7f565
commit
ae6ea3b91d
|
@ -11113,7 +11113,7 @@ void gen_intermediate_code_internal_a64(ARMCPU *cpu,
|
|||
// imitate WFI instruction to halt emulation
|
||||
gen_tb_start(tcg_ctx);
|
||||
dc->is_jmp = DISAS_WFI;
|
||||
goto done_generating;
|
||||
goto tb_end;
|
||||
}
|
||||
|
||||
// Unicorn: trace this block on request
|
||||
|
@ -11209,6 +11209,7 @@ void gen_intermediate_code_internal_a64(ARMCPU *cpu,
|
|||
// gen_io_end();
|
||||
//}
|
||||
|
||||
tb_end:
|
||||
if (unlikely(cs->singlestep_enabled || dc->ss_active)
|
||||
&& dc->is_jmp != DISAS_EXC) {
|
||||
/* Note that this means single stepping WFI doesn't halt the CPU.
|
||||
|
|
Loading…
Reference in a new issue