summaryrefslogtreecommitdiff
path: root/src/berry_fix_program.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-03 15:29:18 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-11-03 15:29:18 -0400
commit9a0618afc3f7ccf8a5d19ee5815fd388003d4a95 (patch)
treea7d9221d1a4e205cfcc4712ed343c9581504c253 /src/berry_fix_program.c
parente14210ce1f9be3ae894490a4e3050832aecbdde7 (diff)
Add COPYWIN constants
Diffstat (limited to 'src/berry_fix_program.c')
-rw-r--r--src/berry_fix_program.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/berry_fix_program.c b/src/berry_fix_program.c
index 9b0da5bd2..3a0e4c326 100644
--- a/src/berry_fix_program.c
+++ b/src/berry_fix_program.c
@@ -319,9 +319,9 @@ static void BerryFix_GpuSet(void)
left = (208 - width) / 2;
AddTextPrinterParameterized3(0, FONT_NORMAL, left, 2, sBerryProgramTextColors, TEXT_SPEED_FF, sText_BerryProgramUpdate);
- CopyWindowToVram(2, 2);
- CopyWindowToVram(3, 2);
- CopyWindowToVram(0, 2);
+ CopyWindowToVram(2, COPYWIN_GFX);
+ CopyWindowToVram(3, COPYWIN_GFX);
+ CopyWindowToVram(0, COPYWIN_GFX);
}
static int BerryFix_TrySetScene(int scene)
@@ -348,7 +348,7 @@ static void BerryFix_SetScene(int scene)
FillWindowPixelBuffer(1, PIXEL_FILL(10));
AddTextPrinterParameterized3(1, FONT_NORMAL, 0, 0, sBerryProgramTextColors, -1, sBerryProgramTexts[scene]);
PutWindowTilemap(1);
- CopyWindowToVram(1, 2);
+ CopyWindowToVram(1, COPYWIN_GFX);
switch (scene)
{
case SCENE_ENSURE_CONNECT: