Reverted some CPU-related changes.
This commit is contained in:
@@ -1539,7 +1539,10 @@ x86_int_sw(int num)
|
||||
}
|
||||
}
|
||||
|
||||
trap &= ~1;
|
||||
if (cpu_use_exec)
|
||||
trap = 0;
|
||||
else
|
||||
trap &= ~1;
|
||||
CPU_BLOCK_END();
|
||||
}
|
||||
|
||||
@@ -1582,7 +1585,10 @@ x86_int_sw_rm(int num)
|
||||
#endif
|
||||
|
||||
cycles -= timing_int_rm;
|
||||
trap &= ~1;
|
||||
if (cpu_use_exec)
|
||||
trap = 0;
|
||||
else
|
||||
trap &= ~1;
|
||||
CPU_BLOCK_END();
|
||||
|
||||
return 0;
|
||||
|
@@ -2286,10 +2286,14 @@ taskswitch286(uint16_t seg, uint16_t *segdat, int is32)
|
||||
op_loadseg(new_fs, &cpu_state.seg_fs);
|
||||
op_loadseg(new_gs, &cpu_state.seg_gs);
|
||||
|
||||
rf_flag_no_clear = 1;
|
||||
if (!cpu_use_exec)
|
||||
rf_flag_no_clear = 1;
|
||||
|
||||
if (t_bit) {
|
||||
trap |= 2;
|
||||
if (cpu_use_exec)
|
||||
trap = 2;
|
||||
else
|
||||
trap |= 2;
|
||||
#ifdef USE_DYNAREC
|
||||
cpu_block_end = 1;
|
||||
#endif
|
||||
@@ -2469,7 +2473,8 @@ taskswitch286(uint16_t seg, uint16_t *segdat, int is32)
|
||||
tr.limit = limit;
|
||||
tr.access = segdat[2] >> 8;
|
||||
tr.ar_high = segdat[3] & 0xff;
|
||||
dr[7] &= 0xFFFFFFAA;
|
||||
if (!cpu_use_exec)
|
||||
dr[7] &= 0xFFFFFFAA;
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user