sc53c94: Check drq_cb.

This commit is contained in:
joevt 2023-12-18 01:16:03 -08:00 committed by dingusdev
parent 782a8d2c3c
commit 61576d4032

View File

@ -484,6 +484,7 @@ void Sc53C94::sequencer()
break;
case SeqState::SEND_MSG:
if (this->data_fifo_pos < 1 && this->is_dma_cmd) {
if (this->drq_cb)
this->drq_cb(1);
this->int_status = INTSTAT_SR;
this->update_irq();
@ -494,6 +495,7 @@ void Sc53C94::sequencer()
break;
case SeqState::SEND_CMD:
if (this->data_fifo_pos < 1 && this->is_dma_cmd) {
if (this->drq_cb)
this->drq_cb(1);
this->int_status |= INTSTAT_SR;
this->update_irq();