diff --git a/src/game/display.h b/src/game/display.h index 877c4f0b..43eeac3b 100644 --- a/src/game/display.h +++ b/src/game/display.h @@ -2,8 +2,7 @@ #define _DISPLAY_H #include "types.h" - -#define GFX_POOL_SIZE 64000 +#include "memory.h" extern u16 frameBufferIndex; extern u32 gGlobalTimer; diff --git a/src/game/game_init.h b/src/game/game_init.h index 59c5bdde..2dd25d1c 100644 --- a/src/game/game_init.h +++ b/src/game/game_init.h @@ -9,8 +9,6 @@ #include "types.h" #include "memory.h" -#define GFX_POOL_SIZE 64000 - struct GfxPool { Gfx buffer[GFX_POOL_SIZE]; struct SPTask spTask; diff --git a/src/game/memory.h b/src/game/memory.h index 50339f88..48cd703c 100644 --- a/src/game/memory.h +++ b/src/game/memory.h @@ -8,6 +8,7 @@ #define MEMORY_POOL_LEFT 0 #define MEMORY_POOL_RIGHT 1 +#define GFX_POOL_SIZE (512 * 1024) struct AllocOnlyPool {