diff options
author | nullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com> | 2018-11-20 13:17:30 +0800 |
---|---|---|
committer | nullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com> | 2018-11-20 15:04:02 +0800 |
commit | c7045ae3694f677b634f3908c1ea935c2998727e (patch) | |
tree | b4aa509751cfa3d71897ae9442c39875db8cbc21 /src/bg_palette_buffer.c | |
parent | f4ef62bb4134498a4b4a9c4d61b99bda24c98680 (diff) |
Identify, split, decompile m4a, and more
ResetSprites, gCharMemCursor, gSpriteCount; analysed subheaps; identified more file pointers
Diffstat (limited to 'src/bg_palette_buffer.c')
-rw-r--r-- | src/bg_palette_buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bg_palette_buffer.c b/src/bg_palette_buffer.c index 6301bfa..e36176d 100644 --- a/src/bg_palette_buffer.c +++ b/src/bg_palette_buffer.c @@ -18,7 +18,7 @@ void InitBGPaletteBuffer(void) u8* p; - ptr = gUnknown_20251F0; + ptr = gBGPaletteBuffer; i = 0x80; i <<= 2; @@ -30,12 +30,12 @@ void InitBGPaletteBuffer(void) paletteUsed = TRUE; - p = gUnknown_20251D0; + p = gBGPaletteUsed; p += 31; do *p-- = paletteUsed; - while ((s32) p >= (s32) &gUnknown_20251D0); + while ((s32) p >= (s32) &gBGPaletteUsed); } void SetBGPaletteBufferColorRGB(s32 index, u8 *RGBArray, s32 a3, u8 *a4) { |