all repos — mgba @ 15522187881129832eb68b859e664e2bf90ebd30

mGBA Game Boy Advance Emulator

3DS: Fix menu color
Jeffrey Pfau jeffrey@endrift.com
Sat, 29 Aug 2015 04:44:09 -0700
commit

15522187881129832eb68b859e664e2bf90ebd30

parent

41b1eecb8ccf1afcdb2fccfc34a7796d08a74a5c

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/3ds/gui-font.csrc/platform/3ds/gui-font.c

@@ -52,6 +52,7 @@ void GUIFontDrawGlyph(const struct GUIFont* font, int x, int y, uint32_t color, uint32_t glyph) {

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,