x86: properly calculate EFLAGS when UC_HOOK_CODE is used. this should fix issue #246
This commit is contained in:
@ -1141,4 +1141,5 @@ void x86_cpu_exec_exit(CPUState *cs)
|
||||
CPUX86State *env = &cpu->env;
|
||||
|
||||
env->eflags = cpu_compute_eflags(env);
|
||||
env->eflags0 = env->eflags;
|
||||
}
|
||||
|
Reference in New Issue
Block a user