diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-09 16:09:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 16:09:48 -0500 |
commit | 8e424b69850eb90abd0d7a65be423f8621dc1c2e (patch) | |
tree | 1308176f28fbc134c5e7cf19bf5788d7f93103fe /src/contest.c | |
parent | adf773f1ed272f31ae34e2613d20ec796b651bf8 (diff) | |
parent | 1c82571fa04ecad7d4a805e5fbec4691643ac655 (diff) |
Merge branch 'master' into doc-binterface
Diffstat (limited to 'src/contest.c')
-rw-r--r-- | src/contest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contest.c b/src/contest.c index 1cd8f18b0..b5a035ff8 100644 --- a/src/contest.c +++ b/src/contest.c @@ -1667,7 +1667,7 @@ static void Task_HideMoveSelectScreen(u8 taskId) { FillWindowPixelBuffer(MOVE_WINDOWS_START + i, PIXEL_FILL(0)); PutWindowTilemap(MOVE_WINDOWS_START + i); - CopyWindowToVram(MOVE_WINDOWS_START + i, 2); + CopyWindowToVram(MOVE_WINDOWS_START + i, COPYWIN_GFX); } Contest_SetBgCopyFlags(0); // This seems to be a bug; it should have just copied PLTT_BUFFER_SIZE. @@ -3377,7 +3377,7 @@ static void DrawStatusSymbols(void) static void ContestClearGeneralTextWindow(void) { FillWindowPixelBuffer(WIN_GENERAL_TEXT, PIXEL_FILL(0)); - CopyWindowToVram(WIN_GENERAL_TEXT, 2); + CopyWindowToVram(WIN_GENERAL_TEXT, COPYWIN_GFX); Contest_SetBgCopyFlags(0); } |