Made NMI's always auto-clear, will revert if it makes things worse.

This commit is contained in:
OBattler
2021-09-02 15:24:17 +02:00
parent 8b1f1b4c9d
commit 586066d891
3 changed files with 11 additions and 0 deletions

View File

@@ -968,6 +968,9 @@ check_interrupts(void)
if (nmi && nmi_enable && nmi_mask) {
nmi_enable = 0;
interrupt(2);
#ifndef OLD_NMI_BEHAVIOR
nmi = 0;
#endif
return;
}
if ((cpu_state.flags & I_FLAG) && pic.int_pending && !noint) {