diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2020-04-10 16:17:46 -0400 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2020-04-10 16:17:46 -0400 |
commit | aea30489fc3994a856ba929d075ed762c7fb1967 (patch) | |
tree | 314df4c8afe5ef19243d63a3f7851f5e4c54fc9e /src/battle_records.c | |
parent | a205881ce2caa89a1b2690df9bd335201df2aeda (diff) |
Create COPYWIN defines for CopyWindowToVram calls
Diffstat (limited to 'src/battle_records.c')
-rw-r--r-- | src/battle_records.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_records.c b/src/battle_records.c index 7d9ddffe4..a32276199 100644 --- a/src/battle_records.c +++ b/src/battle_records.c @@ -198,7 +198,7 @@ static void ClearWindowCommitAndRemove(u8 windowId) { FillWindowPixelBuffer(windowId, PIXEL_FILL(0)); ClearWindowTilemap(windowId); - CopyWindowToVram(windowId, 2); + CopyWindowToVram(windowId, COPYWIN_GFX); RemoveWindow(windowId); } @@ -557,7 +557,7 @@ static void PrintBattleRecords(void) static void CommitWindow(u8 windowId) { PutWindowTilemap(windowId); - CopyWindowToVram(windowId, 3); + CopyWindowToVram(windowId, COPYWIN_BOTH); } static void LoadFrameGfxOnBg(u8 bg) |