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/credits.c | |
parent | adf773f1ed272f31ae34e2613d20ec796b651bf8 (diff) | |
parent | 1c82571fa04ecad7d4a805e5fbec4691643ac655 (diff) |
Merge branch 'master' into doc-binterface
Diffstat (limited to 'src/credits.c')
-rw-r--r-- | src/credits.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/credits.c b/src/credits.c index de7597e32..43c8d6628 100644 --- a/src/credits.c +++ b/src/credits.c @@ -369,7 +369,7 @@ static void InitCreditsBgsAndWindows(void) InitWindows(sWindowTemplates); DeactivateAllTextPrinters(); PutWindowTilemap(0); - CopyWindowToVram(0, 3); + CopyWindowToVram(0, COPYWIN_FULL); ShowBg(0); } @@ -401,7 +401,7 @@ static void PrintCreditsText(const u8 *string, u8 y, bool8 isTitle) } x = GetStringCenterAlignXOffsetWithLetterSpacing(FONT_NORMAL, string, DISPLAY_WIDTH, 1); - AddTextPrinterParameterized4(0, FONT_NORMAL, x, y, 1, 0, color, -1, string); + AddTextPrinterParameterized4(0, FONT_NORMAL, x, y, 1, 0, color, TEXT_SKIP_DRAW, string); } #define tMainTaskId data[1] @@ -761,7 +761,7 @@ static void Task_UpdatePage(u8 taskId) sCreditsEntryPointerTable[gTasks[taskId].tCurrentPage][i]->text, 5 + i * 16, sCreditsEntryPointerTable[gTasks[taskId].tCurrentPage][i]->isTitle); - CopyWindowToVram(0, 2); + CopyWindowToVram(0, COPYWIN_GFX); gTasks[taskId].tCurrentPage++; gTasks[taskId].tState++; @@ -811,7 +811,7 @@ static void Task_UpdatePage(u8 taskId) { // Still more Credits pages to show, return to state 2 to print FillWindowPixelBuffer(0, PIXEL_FILL(0)); - CopyWindowToVram(0, 2); + CopyWindowToVram(0, COPYWIN_GFX); gTasks[taskId].tState = 2; } return; |