Sync PC at the end of emulation

This commit is contained in:
lazymio
2022-01-10 15:45:56 +01:00
parent 441afe17e6
commit 980eae7f44
2 changed files with 4 additions and 1 deletions

View File

@ -6896,6 +6896,7 @@ static void s390x_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)
switch (dc->base.is_jmp) {
case DISAS_UNICORN_HALT:
tcg_gen_insn_start(tcg_ctx, dc->base.pc_next, 0, 0);
update_psw_addr(dc);
gen_helper_uc_s390x_exit(tcg_ctx, tcg_ctx->cpu_env);
break;
case DISAS_GOTO_TB: