1
0
Fork 0

Fix 0x66 0x0f prefixed instructions

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1460
This commit is contained in:
Sjoerd van der Berg 2003-11-23 09:49:48 +00:00
parent fb6045aef1
commit 21f1ec6d60

View file

@ -252,7 +252,7 @@ l_M_Ed:
break;
/* Special cases */
case L_DOUBLE:
inst.entry=inst.start_prefix^0x100;
inst.entry|=0x100;
goto restartopcode;
case L_PRESEG:
inst.prefix|=PREFIX_SEG;
@ -267,7 +267,7 @@ l_M_Ed:
inst.repz=true;
goto restartopcode;
case L_PREOP:
inst.entry^=0x200;
inst.entry=inst.start_entry ^ 0x200;
goto restartopcode;
case L_PREADD:
inst.prefix^=PREFIX_ADDR;