Skip to content

Commit

Permalink
Fix OSD not displayed on screencaps in 4 & 8 bpp modes
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSB committed Dec 15, 2021
1 parent ef08fbe commit a420b4b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/osd.c
Expand Up @@ -2011,7 +2011,11 @@ uint32_t osd_get_equivalence(uint32_t value) {
}

uint32_t osd_get_palette(int index) {
return palette_data[index];
if (active) {
return osd_palette_data[index];
} else {
return palette_data[index];
}
}

double gamma_correct(double value, double normalised_gamma) {
Expand Down

0 comments on commit a420b4b

Please sign in to comment.