mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-09 21:31:24 +00:00
dbdma: Do interrupt after setting resCount and xferStatus.
This commit is contained in:
parent
15986a4e4f
commit
fc89fec3e6
@ -189,8 +189,6 @@ void DMAChannel::finish_cmd() {
|
||||
this->ch_stat |= CH_STAT_BT;
|
||||
}
|
||||
}
|
||||
|
||||
this->update_irq();
|
||||
}
|
||||
|
||||
if (res.is_writable)
|
||||
@ -206,6 +204,10 @@ void DMAChannel::finish_cmd() {
|
||||
if (this->cur_cmd < DBDMA_Cmd::STOP && !branch_taken)
|
||||
this->cmd_ptr += 16;
|
||||
|
||||
if (this->cur_cmd < DBDMA_Cmd::STOP) {
|
||||
this->update_irq();
|
||||
}
|
||||
|
||||
this->cmd_in_progress = false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user