mirror of
https://github.com/simple64/simple64.git
synced 2026-11-15 23:59:21 +01:00
update core
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user