1
0
Fork 0

add INVLPG to recompiler (Cavewars)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3208
This commit is contained in:
Sebastian Strohhäcker 2008-08-23 16:36:21 +00:00
parent 23bc78dd1b
commit 6bc0cb78a1

View file

@ -977,6 +977,11 @@ static bool dyn_grp7(void) {
dyn_return(BR_Normal);
dyn_closeblock();
return true;
case 0x07: // INVLPG
// if (cpu.pmode && cpu.cpl) EXCEPTION(EXCEPTION_GP);
if (cpu.pmode && cpu.cpl) IllegalOptionDynrec("invlpg nonpriviledged");
gen_call_function_raw((void*)PAGING_ClearTLB);
break;
default: IllegalOptionDynrec("dyn_grp7_1");
}
} else {