mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-11-04 04:06:42 +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) {
|
||||
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…
Reference in New Issue
Block a user