1
0
Fork 0

correct all unintentional changes

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1314
This commit is contained in:
Peter Veenstra 2003-10-14 08:38:36 +00:00
parent 5e13e5c0e4
commit c36318f721
11 changed files with 14 additions and 24 deletions

View file

@ -1091,14 +1091,10 @@ restart:
flags.type=t_CF;
break;
case 0xfa: /* CLI */
// if (DPMI_IsActive()) DPMI_SetVirtualIntFlag(false);
// else
SETFLAGBIT(IF,false);
SETFLAGBIT(IF,false);
break;
case 0xfb: /* STI */
// if (DPMI_IsActive()) DPMI_SetVirtualIntFlag(true);
// else
SETFLAGBIT(IF,true);
SETFLAGBIT(IF,true);
#ifdef CPU_PIC_CHECK
if (GETFLAG(IF) && PIC_IRQCheck) goto decode_end;
#endif

View file

@ -368,14 +368,10 @@ l_M_Ed:
else reg_edx=0;
goto nextopcode;
case D_CLI:
// if (DPMI_IsActive()) DPMI_SetVirtualIntFlag(false);
// else
SETFLAGBIT(IF,false);
SETFLAGBIT(IF,false);
goto nextopcode;
case D_STI:
// if (DPMI_IsActive()) DPMI_SetVirtualIntFlag(true);
// else
SETFLAGBIT(IF,true);
SETFLAGBIT(IF,true);
if (GETFLAG(IF) && PIC_IRQCheck) {
LEAVECORE;
return CBRET_NONE;