Fix some overflow issues

As found out by @fgsfdsfgs, increase the GFX pool size as to eliminate current overflow-related crashes.
This commit is contained in:
Vinícius R. Miguel 2020-05-13 11:25:22 -03:00
parent 2e2e616821
commit d5d151f322
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
#include "types.h"
#define GFX_POOL_SIZE 6400
#define GFX_POOL_SIZE 64000
extern u16 frameBufferIndex;
extern u32 gGlobalTimer;

View file

@ -51,7 +51,7 @@ extern struct MarioAnimation gDemo;
extern u8 gMarioAnims[];
extern u8 gDemoInputs[];
#define GFX_POOL_SIZE 6400
#define GFX_POOL_SIZE 64000
struct GfxPool {
Gfx buffer[GFX_POOL_SIZE];