Set raw limits on LLDT & LTR instructions - Cyrix RSLDT/RSTS instructions
no longer corrupt LDT/TR limits.
This commit is contained in:
parent
7f206c5484
commit
624f1cfcfc
1 changed files with 2 additions and 0 deletions
|
|
@ -202,6 +202,7 @@ static int op0F00_common(uint32_t fetchdat, int ea32)
|
|||
granularity = readmemb(0, addr + 6) & 0x80;
|
||||
if (cpu_state.abrt) return 1;
|
||||
ldt.limit = limit;
|
||||
ldt.limit_raw = limit;
|
||||
ldt.access = access;
|
||||
ldt.access2 = access2;
|
||||
if (granularity)
|
||||
|
|
@ -236,6 +237,7 @@ static int op0F00_common(uint32_t fetchdat, int ea32)
|
|||
if (cpu_state.abrt) return 1;
|
||||
tr.seg = sel;
|
||||
tr.limit = limit;
|
||||
tr.limit_raw = limit;
|
||||
tr.access = access;
|
||||
tr.access2 = access2;
|
||||
if (granularity)
|
||||
|
|
|
|||
Loading…
Reference in a new issue