kopia lustrzana https://github.com/hoglet67/RGBtoHDMI
Fix font selection bug
rodzic
a908c2db74
commit
53a55a3b34
|
@ -4610,7 +4610,7 @@ void osd_update_fast(uint32_t *osd_base, int bytes_per_line) {
|
|||
break;
|
||||
}
|
||||
|
||||
if (((capinfo->sizex2 & 1) && capinfo->nlines > FONT_THRESHOLD * 10) && (bufferCharWidth > LINELEN) && allow1220font) { // if frame buffer is large enough and not 8bpp use SAA5050 font
|
||||
if (((capinfo->sizex2 & 1) && capinfo->nlines > FONT_THRESHOLD * 10) && (bufferCharWidth >= LINELEN) && allow1220font) { // if frame buffer is large enough and not 8bpp use SAA5050 font
|
||||
for (int line = 0; line <= osd_hwm; line++) {
|
||||
int attr = attributes[line];
|
||||
int len = (attr & ATTR_DOUBLE_SIZE) ? (LINELEN >> 1) : LINELEN;
|
||||
|
|
Ładowanie…
Reference in New Issue