mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-02 08:01:11 +00:00
unicorn: fix uc_emu_start until if end instruction is in another tlb
This commit is contained in:
parent
cf84b2ecac
commit
d56c79776e
|
@ -57,6 +57,9 @@ void translator_loop(const TranslatorOps *ops, DisasContextBase *db,
|
|||
* the "run until" address. */
|
||||
if (tb->pc == cpu->uc->addr_end) {
|
||||
gen_tb_start(tcg_ctx, tb);
|
||||
// This should catch that instruction is at the end
|
||||
// and generate appropriate halting code.
|
||||
ops->translate_insn(db, cpu);
|
||||
goto tb_end;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue