diff options
author | Bad Diode <bd@badd10de.dev> | 2021-05-23 14:21:57 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-05-23 14:21:57 +0200 |
commit | b6878ffcd291a64bd1ab463e3da017a195bc2d0f (patch) | |
tree | a9004bda711ce8a8eca932a52037a5d2cc796cbb /src/common.h | |
parent | e73d10d09e10f2002122ea8d2cd878951b7eda0e (diff) | |
download | uxngba-b6878ffcd291a64bd1ab463e3da017a195bc2d0f.tar.gz uxngba-b6878ffcd291a64bd1ab463e3da017a195bc2d0f.zip |
Update VRAM map to free space for sprite data
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h index 5d3f497..049533e 100644 --- a/src/common.h +++ b/src/common.h | |||
@@ -417,8 +417,8 @@ dma_copy(void *dst, const void *src, u32 size, int channel) { | |||
417 | 417 | ||
418 | // Fill the dst location with the word set at src. | 418 | // Fill the dst location with the word set at src. |
419 | inline void | 419 | inline void |
420 | dma_fill(void *dst, const void *src, u32 size, int channel) { | 420 | dma_fill(void *dst, vu32 src, u32 size, int channel) { |
421 | dma_transfer_fill(dst, (volatile u32)src, size / 4, channel, DMA_CHUNK_32 | DMA_ENABLE); | 421 | dma_transfer_fill(dst, src, size / 4, channel, DMA_CHUNK_32 | DMA_ENABLE); |
422 | } | 422 | } |
423 | 423 | ||
424 | // | 424 | // |