diff options
Diffstat (limited to 'src/new_menu_helpers.c')
-rw-r--r-- | src/new_menu_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_menu_helpers.c b/src/new_menu_helpers.c index 9da0dea80..295a1b824 100644 --- a/src/new_menu_helpers.c +++ b/src/new_menu_helpers.c @@ -299,7 +299,7 @@ void DecompressAndLoadBgGfxUsingHeap2(u8 bgId, const void *src, u32 size, u16 of static void TaskFreeBufAfterCopyingTileDataToVram(u8 taskId) { - if (!CheckForSpaceForDma3Request(gTasks[taskId].data[0])) + if (!WaitDma3Request(gTasks[taskId].data[0])) { Free((void *)GetWordTaskArg(taskId, 1)); DestroyTask(taskId); |