Skip to content

Commit

Permalink
Use SPRITE_HEAP_SIZE in sprite.c _heap_create (#1226)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethteck authored Dec 26, 2024
1 parent 2957579 commit 82fcfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sprite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 82fcfa3

Please sign in to comment.