fix typo buffers (#655)

* fix typo buffers

* tweak ld file

* rename to sMemoryPool

* add a warning

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
coco875
2024-08-16 23:35:57 +02:00
committed by GitHub
parent e2f12c49e9
commit eae28fa550
3 changed files with 7 additions and 4 deletions
+2
View File
@@ -4,8 +4,10 @@
#include "buffers.h"
ALIGNED8 union_D_802BFB80 D_802BFB80;
// [nothing][screen][player]
ALIGNED8 struct_D_802DFB80 D_802DFB80[2][2][8];
#ifdef AVOID_UB
// [buffer][screen][player] Buffer might be two separate buffers or something?
ALIGNED8 struct_D_802F1F80 D_802F1F80[2][4][8];
#else
ALIGNED8 u16 D_802F1F80[2][4][0x100 * 8];
+2 -1
View File
@@ -7,5 +7,6 @@
/**
* Memory pool variable prevents code segments flowing into the memory pool
* for easier portability.
* @warning should not really be used.
*/
u8 memoryPool[MEMORY_POOL_SIZE];
u8 sMemoryPool[MEMORY_POOL_SIZE];