mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-11 05:29:43 +00:00
dbdma: Make sure interrupt controller is set.
This commit is contained in:
parent
503556196a
commit
df0044a110
@ -258,7 +258,10 @@ void DMAChannel::update_irq() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (cond) {
|
if (cond) {
|
||||||
this->int_ctrl->ack_dma_int(this->irq_id, 1);
|
if (int_ctrl)
|
||||||
|
this->int_ctrl->ack_dma_int(this->irq_id, 1);
|
||||||
|
else
|
||||||
|
LOG_F(ERROR, "%s Interrupt ignored", this->get_name().c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user