Oops. flipmask for font should be nonzero
Note to self : don't skip testing on other carts.
@@ -789,7 +789,7 @@ s32 tic_api_font(tic_mem* memory, const char* text, s32 x, s32 y, u8 chromakey,
// Compatibility : flip top and bottom of the spritesheet
// to preserve tic_api_font's default target
u8 segment = memory->ram.vram.blit.segment >> 1;
- u8 flipmask = 0; while (segment >>= 1) flipmask<<=1;
+ u8 flipmask = 1; while (segment >>= 1) flipmask<<=1;
tic_tilesheet font_face = getTileSheetFromSegment(memory, memory->ram.vram.blit.segment ^ flipmask);
return drawText((tic_machine*)memory, &font_face, text, x, y, w, h, fixed, mapping, scale, alt);
