From bc3e94b11ef7b5fe64e3d46af44a8b7190dfbb7d Mon Sep 17 00:00:00 2001 From: fgsfds Date: Tue, 7 Jul 2020 15:03:45 +0300 Subject: [PATCH] bump gfx pool size --- src/game/display.h | 3 +-- src/game/game_init.h | 2 -- src/game/memory.h | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) 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 {