summaryrefslogtreecommitdiff
path: root/arm9/src/game_init.c
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-05-26 03:30:25 +0100
committerGitHub <noreply@github.com>2021-05-26 03:30:25 +0100
commit395de03637046068e1b4ad79f1c8b230b8f2b0c8 (patch)
treec73803288addbc3256be6ca71a965670833c55fe /arm9/src/game_init.c
parent73e48106d014792276f46e185b1a7ccd30bf4f00 (diff)
parent7d10ba28169226bf00b741f7d01bc3386b383343 (diff)
Merge branch 'master' into unk_0208A300
Diffstat (limited to 'arm9/src/game_init.c')
-rw-r--r--arm9/src/game_init.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arm9/src/game_init.c b/arm9/src/game_init.c
index 12d18629..64ea7a54 100644
--- a/arm9/src/game_init.c
+++ b/arm9/src/game_init.c
@@ -181,12 +181,12 @@ void InitSystemForTheGame(void)
void InitGraphicMemory(void)
{
GX_SetBankForLCDC(0x1FF);
- MIi_CpuClearFast(0, (void *)HW_LCDC_VRAM, HW_LCDC_VRAM_SIZE);
+ MI_CpuClearFast((void *)HW_LCDC_VRAM, HW_LCDC_VRAM_SIZE);
GX_DisableBankForLCDC();
- MIi_CpuClearFast(0xC0, (void *)HW_OAM, HW_OAM_SIZE);
- MIi_CpuClearFast(0xC0, (void *)HW_DB_OAM, HW_DB_OAM_SIZE);
- MIi_CpuClearFast(0, (void *)HW_PLTT, HW_PLTT_SIZE);
- MIi_CpuClearFast(0, (void *)HW_DB_PLTT, HW_DB_PLTT_SIZE);
+ MI_CpuFillFast((void *)HW_OAM, 0xC0, HW_OAM_SIZE);
+ MI_CpuFillFast((void *)HW_DB_OAM, 0xC0, HW_DB_OAM_SIZE);
+ MI_CpuClearFast((void *)HW_PLTT, HW_PLTT_SIZE);
+ MI_CpuClearFast((void *)HW_DB_PLTT, HW_DB_PLTT_SIZE);
}
void * FUN_020161A4(u32 heap_id, const char * path)