@Override
    public void set_nmi_line(int state) {
        if (I.nmi_state == state) {
            return;
        }
        I.nmi_state = state;
        if (state != CLEAR_LINE) {
            I.pending_irq |= NMI_IRQ;
        }
    }