mirror of
https://github.com/n64decomp/mk64
synced 2026-05-31 08:51:42 -04:00
eae28fa550
* fix typo buffers * tweak ld file * rename to sMemoryPool * add a warning --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
25 lines
686 B
C
25 lines
686 B
C
#include <ultra64.h>
|
|
#include <macros.h>
|
|
#include <mk64.h>
|
|
#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];
|
|
#endif
|
|
|
|
ALIGNED8 u16 gZBuffer[SCREEN_WIDTH * SCREEN_HEIGHT];
|
|
|
|
#ifdef AVOID_UB
|
|
ALIGNED8 u16 gFramebuffers[3][SCREEN_WIDTH * SCREEN_HEIGHT];
|
|
#else
|
|
u16 gFramebuffer0[SCREEN_WIDTH * SCREEN_HEIGHT];
|
|
u16 gFramebuffer1[SCREEN_WIDTH * SCREEN_HEIGHT];
|
|
u16 gFramebuffer2[SCREEN_WIDTH * SCREEN_HEIGHT];
|
|
#endif
|