Don't clear trap at the start of the recompiler loop; instead, clear it when actually taking a trap.
This commit is contained in:
parent
93b42d43d5
commit
6c65c34bd3
1 changed files with 1 additions and 2 deletions
|
|
@ -600,7 +600,6 @@ void exec386_dynarec(int cycs)
|
|||
int hash = HASH(phys_addr);
|
||||
codeblock_t *block = &codeblock[codeblock_hash[hash]];
|
||||
int valid_block = 0;
|
||||
trap = 0;
|
||||
|
||||
if (block && !cpu_state.abrt)
|
||||
{
|
||||
|
|
@ -877,7 +876,7 @@ inrecomp=0;
|
|||
|
||||
if (trap)
|
||||
{
|
||||
|
||||
trap = 0;
|
||||
flags_rebuild();
|
||||
// oldpc=pc;
|
||||
// oldcs=CS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue