mirror of
https://github.com/Cxbx-Reloaded/unicorn.git
synced 2024-12-13 22:38:40 +00:00
Potential fix for issue #262/#263
This commit is contained in:
parent
1a543c04f0
commit
661714d0c2
@ -8367,6 +8367,7 @@ static inline void gen_intermediate_code_internal(uint8_t *gen_opc_cc_op,
|
|||||||
gen_jmp_im(dc, tb->pc - tb->cs_base);
|
gen_jmp_im(dc, tb->pc - tb->cs_base);
|
||||||
gen_helper_hlt(tcg_ctx, tcg_ctx->cpu_env, tcg_const_i32(tcg_ctx, 0));
|
gen_helper_hlt(tcg_ctx, tcg_ctx->cpu_env, tcg_const_i32(tcg_ctx, 0));
|
||||||
dc->is_jmp = DISAS_TB_JUMP;
|
dc->is_jmp = DISAS_TB_JUMP;
|
||||||
|
pc_ptr = pc_start;
|
||||||
goto done_generating;
|
goto done_generating;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user