update core

This commit is contained in:
Logan McNaughton committed 2021-06-12 09:14:43 -06:00
1 parent 34cd4fcdba
commit aff8565d19
1 file changed
+2 -2
@@ -59,7 +59,7 @@ static void dma_pi_read(struct pi_controller* pi)
const uint8_t* dram = (uint8_t*)pi->ri->rdram->dram;
if ((length & 0x1) && length >= 0x7F)
length +=1;
length += 1;
if (dram_addr & 0x7)
length -= dram_addr & 0x7;
@@ -99,7 +99,7 @@ static void dma_pi_write(struct pi_controller* pi)
uint8_t* dram = (uint8_t*)pi->ri->rdram->dram;
if ((length & 0x1) && length >= 0x7F)
length +=1;
length += 1;
if (dram_addr & 0x7)
length -= dram_addr & 0x7;