Implement port 0x70 NMI mask. Patch from Greatpsycho.

This commit is contained in:
SarahW 2017-07-19 19:35:01 +01:00
commit 8b433633c0
4 changed files with 11 additions and 3 deletions

View file

@ -10,6 +10,7 @@
#include "fdc.h"
#include "pic.h"
#include "timer.h"
#include "nmi.h"
#include "386_common.h"
@ -319,7 +320,7 @@ dontprint=0;
loadcs(readmemw(0,addr+2));
}
}
else if (nmi && nmi_enable)
else if (nmi && nmi_enable && nmi_mask)
{
cpu_state.oldpc = cpu_state.pc;
oldcs = CS;