mirror of https://github.com/pmret/papermario.git
Use SPRITE_HEAP_SIZE in sprite.c _heap_create (#1226)
This commit is contained in:
parent
295757969a
commit
82fcfa3991
|
@ -774,7 +774,7 @@ void spr_init_sprites(s32 playerSpriteSet) {
|
||||||
s32 i;
|
s32 i;
|
||||||
|
|
||||||
spr_allocateBtlComponentsOnWorldHeap = FALSE;
|
spr_allocateBtlComponentsOnWorldHeap = FALSE;
|
||||||
_heap_create(&heap_spriteHead, 0x40000);
|
_heap_create(&heap_spriteHead, SPRITE_HEAP_SIZE);
|
||||||
imgfx_init();
|
imgfx_init();
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_COUNT(spr_playerSprites); i++) {
|
for (i = 0; i < ARRAY_COUNT(spr_playerSprites); i++) {
|
||||||
|
|
Loading…
Reference in New Issue