merge in another commit from ares

This commit is contained in:
CasualPokePlayer 2022-05-30 15:39:43 -07:00
parent f5d8c0fb1e
commit 253f139731
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -98,16 +98,16 @@ auto PI::ioWrite(u32 address, u32 data_) -> void {
//PI_READ_LENGTH
io.readLength = n24(data);
io.dmaBusy = 1;
dmaRead();
queue.insert(Queue::PI_DMA_Read, io.readLength * 36);
dmaRead();
}
if(address == 3) {
//PI_WRITE_LENGTH
io.writeLength = n24(data);
io.dmaBusy = 1;
dmaWrite();
queue.insert(Queue::PI_DMA_Write, io.writeLength * 36);
dmaWrite();
}
if(address == 4) {