Skip to content

Commit

Permalink
Remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Feb 13, 2025
1 parent e34fbb8 commit b72a870
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions title/arm9/source/bootsplash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ bool cartInserted;

void bootSplashDSi(void) {
// u16 whiteCol = ((whiteCol>>10)&0x1f) | ((whiteCol)&((31-3*ms().blfLevel)<<5)) | (whiteCol&(31-6*ms().blfLevel))<<10 | BIT(15);
toncset16(BG_GFX, 0xFFFF, 256*256);
toncset16(BG_GFX_SUB, 0xFFFF, 256*256);
toncset16(BG_PALETTE, 0xFFFF, 256);
toncset16(BG_PALETTE_SUB, 0xFFFF, 256);
// toncset16(BG_GFX, 0xFFFF, 256*256);
// toncset16(BG_GFX_SUB, 0xFFFF, 256*256);

cartInserted = (REG_SCFG_MC != 0x11);

Expand Down Expand Up @@ -137,6 +135,9 @@ void bootSplashDSi(void) {
}

if (!custom && !virtualPain) {
BG_PALETTE[0] = 0xFFFF;
BG_PALETTE_SUB[0] = 0xFFFF;

controlBottomBright = false;
fadeType = false;
screenBrightness = 0;
Expand Down

0 comments on commit b72a870

Please sign in to comment.