diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-02-10 11:11:25 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-02-10 11:11:25 -0500 |
commit | c0373e9e93ff07edebc120e317b6473c171a946a (patch) | |
tree | 617a78e662d93d347681b1d0ec9a29472b8d89fd /src/wireless_communication_status_screen.c | |
parent | 78caeff45b98bf3cce180d37606d5a5239fbb030 (diff) |
Address review comments
Diffstat (limited to 'src/wireless_communication_status_screen.c')
-rw-r--r-- | src/wireless_communication_status_screen.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wireless_communication_status_screen.c b/src/wireless_communication_status_screen.c index ecf7bad90..7267d4ace 100644 --- a/src/wireless_communication_status_screen.c +++ b/src/wireless_communication_status_screen.c @@ -181,7 +181,7 @@ static void CB2_InitWirelessCommunicationScreen(void) SetGpuReg(REG_OFFSET_DISPCNT, 0); sWCSS = AllocZeroed(sizeof(*sWCSS)); SetVBlankCallback(NULL); - ResetBgsAndClearDma3BusyFlags(0); + ResetBgsAndClearDma3BusyFlags(FALSE); InitBgsFromTemplates(0, sBGTemplates, NELEMS(sBGTemplates)); SetBgTilemapBuffer(1, Alloc(0x800)); SetBgTilemapBuffer(0, Alloc(0x800)); @@ -250,9 +250,9 @@ static void PrintHeaderTexts(void) s32 i; u32 width; - FillWindowPixelBuffer(0, 0); - FillWindowPixelBuffer(1, 0); - FillWindowPixelBuffer(2, 0); + FillWindowPixelBuffer(0, PIXEL_FILL(0)); + FillWindowPixelBuffer(1, PIXEL_FILL(0)); + FillWindowPixelBuffer(2, PIXEL_FILL(0)); width = 0xC0 - GetStringWidth(3, sHeaderTextPtrs[0], 0); WCSS_AddTextPrinterParameterized(0, 3, sHeaderTextPtrs[0], width / 2, 6, 3); for (i = 0; i < 3; i++) @@ -289,7 +289,7 @@ static void Task_WirelessCommunicationScreen(u8 taskId) case 3: if (UpdateCommunicationCounts(sWCSS->counts, sWCSS->lastCounts, sWCSS->activities, sWCSS->rfuTaskId)) { - FillWindowPixelBuffer(2, 0x00); + FillWindowPixelBuffer(2, PIXEL_FILL(0)); for (i = 0; i < 4; i++) { ConvertIntToDecimalStringN(gStringVar4, sWCSS->counts[i], STR_CONV_MODE_RIGHT_ALIGN, 2); |