mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
bugfix for 32x
This commit is contained in:
parent
ce322c1e37
commit
5a5d765c23
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ static void dmac_transfer_one(SH2 *sh2, struct dma_chan *chan)
|
||||||
case 0:
|
case 0:
|
||||||
d = p32x_sh2_read8(chan->sar, sh2);
|
d = p32x_sh2_read8(chan->sar, sh2);
|
||||||
p32x_sh2_write8(chan->dar, d, sh2);
|
p32x_sh2_write8(chan->dar, d, sh2);
|
||||||
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
d = p32x_sh2_read16(chan->sar, sh2);
|
d = p32x_sh2_read16(chan->sar, sh2);
|
||||||
p32x_sh2_write16(chan->dar, d, sh2);
|
p32x_sh2_write16(chan->dar, d, sh2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue