mirror of https://github.com/sm64pc/sm64pc.git
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:
parent
2e2e616821
commit
d5d151f322
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
#define GFX_POOL_SIZE 6400
|
#define GFX_POOL_SIZE 64000
|
||||||
|
|
||||||
extern u16 frameBufferIndex;
|
extern u16 frameBufferIndex;
|
||||||
extern u32 gGlobalTimer;
|
extern u32 gGlobalTimer;
|
||||||
|
|
|
@ -51,7 +51,7 @@ extern struct MarioAnimation gDemo;
|
||||||
extern u8 gMarioAnims[];
|
extern u8 gMarioAnims[];
|
||||||
extern u8 gDemoInputs[];
|
extern u8 gDemoInputs[];
|
||||||
|
|
||||||
#define GFX_POOL_SIZE 6400
|
#define GFX_POOL_SIZE 64000
|
||||||
|
|
||||||
struct GfxPool {
|
struct GfxPool {
|
||||||
Gfx buffer[GFX_POOL_SIZE];
|
Gfx buffer[GFX_POOL_SIZE];
|
||||||
|
|
Loading…
Reference in New Issue