From ff9b961cd3a4f7dee647b156362daed9735b21bc Mon Sep 17 00:00:00 2001 From: ariahiro64 Date: Sat, 21 Oct 2023 04:13:26 -0400 Subject: [PATCH] Dinosaur planet 100% working --- src/flashcart/ed64/ed64_ll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flashcart/ed64/ed64_ll.c b/src/flashcart/ed64/ed64_ll.c index d565e8af..8ab3fe28 100644 --- a/src/flashcart/ed64/ed64_ll.c +++ b/src/flashcart/ed64/ed64_ll.c @@ -237,7 +237,7 @@ int ed64_ll_get_sram (uint8_t *buffer, int size) { dma_wait(); - pi_dma_from_sram(buffer, 0 - (KiB(32) - size), size) ; + pi_dma_from_sram(buffer, 0 - (KiB(64) - size), size) ; dma_wait(); @@ -295,7 +295,7 @@ int ed64_ll_set_sram (uint8_t *buffer, int size) { data_cache_hit_writeback_invalidate(buffer,size); dma_wait(); - pi_dma_to_sram(buffer, 0 - (KiB(32) - size), size); + pi_dma_to_sram(buffer, 0 - (KiB(64) - size), size); data_cache_hit_writeback_invalidate(buffer,size); //Wait