Rewrote the recompiler interrupt checking in assembly (and removed it for the new dynamic compiler because the requires uops are not present), brings performance back up, and also did a number of CPU-related clean-ups (mostly removal of dead variables and associated code).
This commit is contained in:
@@ -2246,8 +2246,8 @@ kbd_read(uint16_t port, void *priv)
|
||||
ret &= ~0x04;
|
||||
}
|
||||
#ifdef USE_DYNAREC
|
||||
flip_flop = (flip_flop + 1) & 3;
|
||||
if (cpu_use_dynarec && (flip_flop == 3))
|
||||
flip_flop = (flip_flop + 1) & 0xf;
|
||||
if (cpu_use_dynarec && (flip_flop == 0xf))
|
||||
update_tsc();
|
||||
#endif
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user