Skip to content

Commit

Permalink
bugfix: fixed incorrect LED colors in status line
Browse files Browse the repository at this point in the history
After switching to BGRA, the Blue and Red colors were inverted in the status line
midwan committed Jan 5, 2025

Verified

This commit was signed with the committer’s verified signature.
Hazmi35 hzmi
1 parent 3b60239 commit 848c853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osdep/amiberry_gfx.cpp
Original file line number Diff line number Diff line change
@@ -400,9 +400,9 @@ static void update_leds(int monid)

if (!done) {
for (int i = 0; i < 256; i++) {
rc[i] = i << 0;
rc[i] = i << 16;
gc[i] = i << 8;
bc[i] = i << 16;
bc[i] = i << 0;
a[i] = i << 24;
}
done = 1;

0 comments on commit 848c853

Please sign in to comment.