aboutsummaryrefslogtreecommitdiff
path: root/source/nds/entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/nds/entry.cpp')
-rw-r--r--source/nds/entry.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/nds/entry.cpp b/source/nds/entry.cpp
index 4aa2977..3fa6517 100644
--- a/source/nds/entry.cpp
+++ b/source/nds/entry.cpp
@@ -144,9 +144,9 @@ bool8 S9xDeinitUpdate (int Width, int Height, bool8 /*sixteen_bit*/)
//Up
case 1:
#ifdef DS2_DMA
- dma_copy32Byte(5 /* channel: graphics */, up_screen_addr, GFX.Screen + 256 * 32 * 2, 256 * 192 * 2);
- dma_wait_finish(5);
- dma_stop(5);
+ dma_copy32Byte(1 /* channel: graphics */, up_screen_addr, GFX.Screen + 256 * 32 * 2, 256 * 192 * 2);
+ dma_wait_finish(1);
+ dma_stop(1);
#else
memcpy(up_screen_addr, GFX.Screen+256*32*2, 256*192*2);
#endif
@@ -155,9 +155,9 @@ bool8 S9xDeinitUpdate (int Width, int Height, bool8 /*sixteen_bit*/)
//Down
case 2:
#ifdef DS2_DMA
- dma_copy32Byte(5 /* channel: graphics */, up_screen_addr, GFX.Screen, 256 * 192 * 2);
- dma_wait_finish(5);
- dma_stop(5);
+ dma_copy32Byte(1 /* channel: graphics */, up_screen_addr, GFX.Screen, 256 * 192 * 2);
+ dma_wait_finish(1);
+ dma_stop(1);
#else
memcpy(up_screen_addr, GFX.Screen, 256*192*2);
#endif
@@ -166,9 +166,9 @@ bool8 S9xDeinitUpdate (int Width, int Height, bool8 /*sixteen_bit*/)
//Both
case 3:
#ifdef DS2_DMA
- dma_copy32Byte(5 /* channel: graphics */, up_screen_addr, GFX.Screen + 256 * 16 * 2, 256 * 192 * 2);
- dma_wait_finish(5);
- dma_stop(5);
+ dma_copy32Byte(1 /* channel: graphics */, up_screen_addr, GFX.Screen + 256 * 16 * 2, 256 * 192 * 2);
+ dma_wait_finish(1);
+ dma_stop(1);
#else
memcpy(up_screen_addr, GFX.Screen+256*16*2, 256*192*2);
#endif
@@ -189,9 +189,9 @@ bool8 S9xDeinitUpdate (int Width, int Height, bool8 /*sixteen_bit*/)
for(m = 0; m < 32; m++)
{
#ifdef DS2_DMA
- dma_copy32Byte(5 /* channel: graphics */, dst, src, 256 * 6 * 2);
- dma_wait_finish(5);
- dma_stop(5);
+ dma_copy32Byte(1 /* channel: graphics */, dst, src, 256 * 6 * 2);
+ dma_wait_finish(1);
+ dma_stop(1);
#else
memcpy(dst, src, 256*6*2);
#endif