Set raw limits on LLDT & LTR instructions - Cyrix RSLDT/RSTS instructions

no longer corrupt LDT/TR limits.
This commit is contained in:
SarahW 2020-11-09 08:06:49 +00:00
commit 624f1cfcfc

View file

@ -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)