Skip to content

Commit 29c8717

Browse files
committed
DSi-based UIs: Fix transparent box art not displaying properly
1 parent 91b02cd commit 29c8717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

romsel_dsimenutheme/arm9/source/graphics/ThemeTextures.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ void ThemeTextures::drawBoxArt(const char *filename, bool inMem) {
10241024
if (colorTable) {
10251025
color = colorTable[color];
10261026
}
1027-
if (alpha == 0) {
1027+
if (alpha == 255) {
10281028
_bmpImageBuffer[i] = color;
10291029
} else {
10301030
_bmpImageBuffer[i] = alphablend(color, _bgSubBuffer[(photoY*256)+photoX], alpha);
@@ -1055,7 +1055,7 @@ void ThemeTextures::drawBoxArt(const char *filename, bool inMem) {
10551055
if (colorTable) {
10561056
color = colorTable[color];
10571057
}
1058-
if (alpha == 0) {
1058+
if (alpha == 255) {
10591059
_bmpImageBuffer2[i] = color;
10601060
} else {
10611061
_bmpImageBuffer2[i] = alphablend(color, _bgSubBuffer2[(photoY*256)+photoX], alpha);

0 commit comments

Comments
 (0)