Don't set oldcpl at the start of each instruction; instead, only set it following a successful CS load.
This commit is contained in:
parent
d461bc7cda
commit
c3250ca63e
4 changed files with 18 additions and 5 deletions
|
|
@ -925,6 +925,7 @@ static int opLOADALL386(uint32_t fetchdat)
|
|||
loadall_load_segment(la_addr + 0xc0, &cpu_state.seg_es);
|
||||
|
||||
if (CPL==3 && oldcpl!=3) flushmmucache_cr3();
|
||||
oldcpl = CPL;
|
||||
|
||||
CLOCK_CYCLES(350);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue