Ported the CPU fixes from PCem.

This commit is contained in:
OBattler
2020-11-20 01:28:36 +01:00
parent 1fc3ef5502
commit c10fc05ea6
2 changed files with 18 additions and 18 deletions

View File

@@ -281,11 +281,6 @@ exec386(int cycs)
}
}
ins_cycles -= cycles;
tsc += ins_cycles;
cycdiff = oldcyc - cycles;
if (smi_line)
enter_smm_check(0);
else if (trap) {
@@ -336,6 +331,11 @@ exec386(int cycs)
cpu_end_block_after_ins = 0;
ins_cycles -= cycles;
tsc += ins_cycles;
cycdiff = oldcyc - cycles;
if (timetolive) {
timetolive--;
if (!timetolive)