bugfix for 32x
authorkub <derkub@gmail.com>
Wed, 20 Mar 2019 19:34:19 +0000 (20:34 +0100)
committerkub <derkub@gmail.com>
Tue, 30 Jul 2019 14:34:40 +0000 (16:34 +0200)
pico/32x/sh2soc.c

index 62423d1..b530011 100644 (file)
@@ -87,6 +87,7 @@ static void dmac_transfer_one(SH2 *sh2, struct dma_chan *chan)
   case 0:
     d = p32x_sh2_read8(chan->sar, sh2);
     p32x_sh2_write8(chan->dar, d, sh2);
+    break;
   case 1:
     d = p32x_sh2_read16(chan->sar, sh2);
     p32x_sh2_write16(chan->dar, d, sh2);