summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2018-01-09 00:16:15 -0600
committercamthesaxman <cameronghall@cox.net>2018-01-09 00:16:15 -0600
commit8869cbc98e2f8e761e9ff89182933643992e2bd7 (patch)
tree451264077e87b691daf35d7fc4ae022544788dd5 /src/debug
parente57ffa0c5e3096ef8e856bbc1f2c95787c5dd0e2 (diff)
s/gWindowConfig/gWindowTemplate/g
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/matsuda_debug_menu.c12
-rw-r--r--src/debug/sound_check_menu.c8
2 files changed, 10 insertions, 10 deletions
diff --git a/src/debug/matsuda_debug_menu.c b/src/debug/matsuda_debug_menu.c
index 2c20ba72b..52b83d4b1 100644
--- a/src/debug/matsuda_debug_menu.c
+++ b/src/debug/matsuda_debug_menu.c
@@ -449,8 +449,8 @@ static void sub_80A9F50(void)
{
REG_DISPCNT = DISPCNT_MODE_0 | DISPCNT_OBJ_1D_MAP;
REG_DISPCNT |= DISPCNT_OBJ_ON | DISPCNT_BG0_ON;
- SetUpWindowConfig(&gWindowConfig_81E6C3C);
- Text_InitWindowWithTemplate(&gMenuWindow, &gWindowConfig_81E6C3C);
+ SetUpWindowConfig(&gWindowTemplate_81E6C3C);
+ Text_InitWindowWithTemplate(&gMenuWindow, &gWindowTemplate_81E6C3C);
REG_MOSAIC = 0;
REG_BLDCNT = 0;
REG_BLDALPHA = 0;
@@ -490,7 +490,7 @@ static void sub_80A9FE4(void)
}
}
sub_80034D4((void *)VRAM, ptr);
- LoadFontDefaultPalette(&gWindowConfig_81E6C3C);
+ LoadFontDefaultPalette(&gWindowTemplate_81E6C3C);
}
static void sub_80AA064(void)
@@ -1075,9 +1075,9 @@ void unref_sub_80AB084(u8 *text)
break;
}
}
- SetUpWindowConfig(&gWindowConfig_81E6FD8);
- Text_InitWindowWithTemplate(&gUnknown_03004210, &gWindowConfig_81E6FD8);
- LoadFontDefaultPalette(&gWindowConfig_81E6FD8);
+ SetUpWindowConfig(&gWindowTemplate_81E6FD8);
+ Text_InitWindowWithTemplate(&gUnknown_03004210, &gWindowTemplate_81E6FD8);
+ LoadFontDefaultPalette(&gWindowTemplate_81E6FD8);
Text_InitWindowAndPrintText(&gUnknown_03004210, text, 1, 9, 7);
}
diff --git a/src/debug/sound_check_menu.c b/src/debug/sound_check_menu.c
index 4f4a7bd06..411ff6f54 100644
--- a/src/debug/sound_check_menu.c
+++ b/src/debug/sound_check_menu.c
@@ -132,8 +132,8 @@ void CB2_StartSoundCheckMenu(void)
ResetPaletteFade();
ResetTasks();
ResetSpriteData();
- SetUpWindowConfig(&gWindowConfig_81E6C3C);
- InitMenuWindow(&gWindowConfig_81E6CE4);
+ SetUpWindowConfig(&gWindowTemplate_81E6C3C);
+ InitMenuWindow(&gWindowTemplate_81E6CE4);
BeginNormalPaletteFade(0xFFFFFFFF, 0, 16, 0, 0);
REG_WIN0H = WIN_RANGE(0, 0);
REG_WIN0V = WIN_RANGE(0, 0);
@@ -1217,8 +1217,8 @@ void Task_InitCryTest(u8 taskId)
struct CryRelatedStruct cryStruct, cryStruct2;
u8 zero;
- SetUpWindowConfig(&gWindowConfig_81E6C3C);
- InitMenuWindow(&gWindowConfig_81E6CE4);
+ SetUpWindowConfig(&gWindowTemplate_81E6C3C);
+ InitMenuWindow(&gWindowTemplate_81E6CE4);
gSoundTestCryNum = 1;
ResetSpriteData();
FreeAllSpritePalettes();