remove fake global gUnk_02022030

part of gBG1Buffer
This commit is contained in:
Henny022p 2023-01-04 12:26:49 +01:00
parent 33a62419a9
commit 08de04a87b
3 changed files with 1 additions and 3 deletions

View File

@ -69,6 +69,5 @@ extern void (*const gUnk_080FC908[])(void);
extern const u8 gGlobalGfxAndPalettes[];
extern u32 gUsedPalettes;
extern u8 gTextGfxBuffer[];
extern u8 gUnk_02022030;
#endif // FILESELECT_H

View File

@ -56,7 +56,6 @@ SECTIONS {
. = 0x00021F00; gUnk_02021F00 = .;
. = 0x00021F20; gUnk_02021F20 = .;
. = 0x00021F30; gBG1Buffer = .;
. = 0x00022030; gUnk_02022030 = .;
. = 0x00022130; gUnk_02022130 = .;
. = 0x00022730; gVBlankDMA = .;
. = 0x00022740; gFuseInfo = .;

View File

@ -1359,7 +1359,7 @@ void sub_0805144C(void) {
void sub_08051458(void) {
sub_080503A8(gMenu.column_idx + 9);
MemCopy(gBG3Buffer + 0x80, &gUnk_02022030, 0x400);
MemCopy(&gBG3Buffer[0x80], &gBG1Buffer[0x80], 0x400);
}
u32 sub_080514BC(u32);