summaryrefslogtreecommitdiff
path: root/src/intro.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-10 16:17:46 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-10 16:17:46 -0400
commitaea30489fc3994a856ba929d075ed762c7fb1967 (patch)
tree314df4c8afe5ef19243d63a3f7851f5e4c54fc9e /src/intro.c
parenta205881ce2caa89a1b2690df9bd335201df2aeda (diff)
Create COPYWIN defines for CopyWindowToVram calls
Diffstat (limited to 'src/intro.c')
-rw-r--r--src/intro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intro.c b/src/intro.c
index b04bdf9b1..802c00851 100644
--- a/src/intro.c
+++ b/src/intro.c
@@ -992,7 +992,7 @@ static void IntroCB_Init(struct IntroSequenceData * this)
FillWindowPixelBuffer(0, PIXEL_FILL(0));
BlitBitmapToWindow(0, this->gamefreakTextBitmap, 0, 40, 144, 16);
PutWindowTilemap(0);
- CopyWindowToVram(0, 3);
+ CopyWindowToVram(0, COPYWIN_BOTH);
this->state++;
break;
case 1:
@@ -1118,7 +1118,7 @@ static void IntroCB_GameFreakScene_CreateGameFreakLogo(struct IntroSequenceData
{
BlitBitmapToWindow(0, this->gamefreakLogoArtSpriteTiles, 0x38, 0x06, 0x20, 0x40);
BlitBitmapToWindow(0, this->gamefreakTextBitmap, 0x00, 0x28, 0x90, 0x10);
- CopyWindowToVram(0, 2);
+ CopyWindowToVram(0, COPYWIN_GFX);
this->state++;
}
break;