mirror of https://github.com/mgba-emu/mgba.git
3DS: Fix menu color
This commit is contained in:
parent
41b1eecb8c
commit
1552218788
|
@ -52,6 +52,7 @@ void GUIFontDrawGlyph(const struct GUIFont* font, int x, int y, uint32_t color,
|
|||
if (glyph > 0x7F) {
|
||||
glyph = 0;
|
||||
}
|
||||
color = (color >> 24) | (color << 8);
|
||||
struct GUIFontGlyphMetric metric = defaultFontMetrics[glyph];
|
||||
sf2d_draw_texture_part_blend(font->tex,
|
||||
x - metric.padding.left,
|
||||
|
|
Loading…
Reference in New Issue