mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-28 21:44:15 +01:00
Dinosaur planet 100% working
This commit is contained in:
parent
ea1c7dbead
commit
ff9b961cd3
@ -237,7 +237,7 @@ int ed64_ll_get_sram (uint8_t *buffer, int size) {
|
|||||||
|
|
||||||
dma_wait();
|
dma_wait();
|
||||||
|
|
||||||
pi_dma_from_sram(buffer, 0 - (KiB(32) - size), size) ;
|
pi_dma_from_sram(buffer, 0 - (KiB(64) - size), size) ;
|
||||||
|
|
||||||
dma_wait();
|
dma_wait();
|
||||||
|
|
||||||
@ -295,7 +295,7 @@ int ed64_ll_set_sram (uint8_t *buffer, int size) {
|
|||||||
data_cache_hit_writeback_invalidate(buffer,size);
|
data_cache_hit_writeback_invalidate(buffer,size);
|
||||||
dma_wait();
|
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);
|
data_cache_hit_writeback_invalidate(buffer,size);
|
||||||
|
|
||||||
//Wait
|
//Wait
|
||||||
|
Loading…
Reference in New Issue
Block a user