Use SPRITE_HEAP_SIZE in sprite.c _heap_create (#1226)

This commit is contained in:
Ethan Roseman 2024-12-26 21:03:52 +09:00 committed by GitHub
parent 295757969a
commit 82fcfa3991
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ void spr_init_sprites(s32 playerSpriteSet) {
s32 i;
spr_allocateBtlComponentsOnWorldHeap = FALSE;
_heap_create(&heap_spriteHead, 0x40000);
_heap_create(&heap_spriteHead, SPRITE_HEAP_SIZE);
imgfx_init();
for (i = 0; i < ARRAY_COUNT(spr_playerSprites); i++) {