correct all unintentional changes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1314
This commit is contained in:
parent
5e13e5c0e4
commit
c36318f721
11 changed files with 14 additions and 24 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue