mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 05:48:11 +00:00
Reset env->invalid_error before executing a translation block.
This commit is contained in:
parent
f4a5273ce7
commit
c9f4bd27cc
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ int cpu_exec(struct uc_struct *uc, CPUArchState *env) // qq
|
|||
|
||||
cc->cpu_exec_enter(cpu);
|
||||
cpu->exception_index = -1;
|
||||
env->invalid_error = UC_ERR_OK;
|
||||
|
||||
/* prepare setjmp context for exception handling */
|
||||
for(;;) {
|
||||
|
|
Loading…
Reference in a new issue