diff --git a/src/game/display.h b/src/game/display.h index 877c4f0b5..43eeac3b2 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 59c5bddec..2dd25d1c9 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 50339f88c..48cd703c7 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 {