summaryrefslogtreecommitdiff
path: root/src/ghost.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-03-20 14:11:43 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-03-20 14:11:43 -0400
commit301ef72cf8f3fa38a732fbd7c63d2b6b041f3f13 (patch)
tree5d5a635c15dbd48c6cf87bc26965237660a640b6 /src/ghost.c
parent64d781111c3d148505c4ee62faf31c209c9690cd (diff)
Use CpuCopy macros instead of CpuSet directly
Diffstat (limited to 'src/ghost.c')
-rw-r--r--src/ghost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghost.c b/src/ghost.c
index 0efcc28d4..c8ddf3c12 100644
--- a/src/ghost.c
+++ b/src/ghost.c
@@ -643,7 +643,7 @@ static void sub_80B5AD4(u8 taskId)
break;
case 1:
task->data[14] = (task->data[14] + 16) * 16;
- CpuSet(&gPlttBufferUnfaded[task->data[4]], &gPlttBufferFaded[task->data[14]], 0x4000008);
+ CpuCopy32(&gPlttBufferUnfaded[task->data[4]], &gPlttBufferFaded[task->data[14]], 0x20);
BlendPalette(task->data[4], 16, 10, RGB(13, 0, 15));
++task->data[15];
break;