Skip to content

Commit

Permalink
Remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Oct 29, 2023
1 parent afa8678 commit a5ab73a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions romsel_dsimenutheme/arm9/source/graphics/ThemeTextures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -888,9 +888,6 @@ void ThemeTextures::drawBoxArt(const char *filename, bool inMem) {
} else {
_bmpImageBuffer[i] = alphablend(color, _bgSubBuffer[(photoY*256)+photoX], alpha);
}
if (ms().colorMode == 1 && found) {
_bmpImageBuffer[i] = convertVramColorToGrayscale(_bmpImageBuffer[i]);
}
if (boxArtColorDeband) {
if (found) {
if (alternatePixel) {
Expand Down Expand Up @@ -963,9 +960,6 @@ void ThemeTextures::drawBoxArt(const char *filename, bool inMem) {
} else {
_bmpImageBuffer2[i] = alphablend(color, _bgSubBuffer2[(photoY*256)+photoX], alpha);
}
if (ms().colorMode == 1 && found) {
_bmpImageBuffer2[i] = convertVramColorToGrayscale(_bmpImageBuffer[i]);
}
if ((i % imageWidth) == imageWidth-1) alternatePixel = !alternatePixel;
alternatePixel = !alternatePixel;
}
Expand Down

0 comments on commit a5ab73a

Please sign in to comment.