@Override
    public void set_irq_line(int irqline, int linestate) {
        if (errorlog != null) {
            fprintf(errorlog, "KONAMI#%d set_irq_line %d, %d\n", cpu_getactivecpu(), irqline, linestate);
        }
        konami.irq_state[irqline] = linestate;
        if (linestate == CLEAR_LINE) {
            return;
        }
        CHECK_IRQ_LINES();
    }