mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-13 03:30:31 +00:00
sc53c94: Check drq_cb.
This commit is contained in:
parent
782a8d2c3c
commit
61576d4032
@ -484,7 +484,8 @@ void Sc53C94::sequencer()
|
||||
break;
|
||||
case SeqState::SEND_MSG:
|
||||
if (this->data_fifo_pos < 1 && this->is_dma_cmd) {
|
||||
this->drq_cb(1);
|
||||
if (this->drq_cb)
|
||||
this->drq_cb(1);
|
||||
this->int_status = INTSTAT_SR;
|
||||
this->update_irq();
|
||||
break;
|
||||
@ -494,7 +495,8 @@ void Sc53C94::sequencer()
|
||||
break;
|
||||
case SeqState::SEND_CMD:
|
||||
if (this->data_fifo_pos < 1 && this->is_dma_cmd) {
|
||||
this->drq_cb(1);
|
||||
if (this->drq_cb)
|
||||
this->drq_cb(1);
|
||||
this->int_status |= INTSTAT_SR;
|
||||
this->update_irq();
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user