diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-01-17 19:31:23 -0500 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-01-17 19:31:23 -0500 |
commit | 2869160d630f569110ca895ff924070d626fd54b (patch) | |
tree | 3599a6c1a5de390a852828d6f918f643e2befa8b /src/scene/intro.c | |
parent | 093422f3065ed47db9a475b0c9d67e9c5bc2c364 (diff) |
use Defvars instead of some Dma macros and hopefully last while(1)s
Diffstat (limited to 'src/scene/intro.c')
-rw-r--r-- | src/scene/intro.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/scene/intro.c b/src/scene/intro.c index f7e196133..4da341744 100644 --- a/src/scene/intro.c +++ b/src/scene/intro.c @@ -1217,7 +1217,6 @@ static void Task_IntroWaitToSetupPart3DoubleFight(u8 taskId) static void Task_IntroLoadPart3Streaks(u8 taskId) { u16 i; - void *vram; intro_reset_and_hide_bgs(); for (i = 0; i < 32; i++) @@ -1226,8 +1225,7 @@ static void Task_IntroLoadPart3Streaks(u8 taskId) ewram0arr[1][i] = 17; ewram0arr[2][i] = 34; } - vram = (void *)VRAM; - DmaCopy16(3, gSharedMem, vram, 0x60); + DmaCopy16Defvars(3, gSharedMem, (void *)(VRAM + 0x0), 0x60); for (i = 0; i < 0x280; i++) ((u16 *)(VRAM + 0x3000))[i] = 0xF001; for (i = 0; i < 0x80; i++) |