search for: graphysize

Displaying 2 results from an estimated 2 matches for "graphysize".

Did you mean: graphxsize
2015 Aug 21
2
[PATCH 2/2] core/graphics: fix lss16 parsing
.../graphics.c index 1604ab4..011be4a 100644 --- a/core/graphics.c +++ b/core/graphics.c @@ -54,6 +54,9 @@ typedef struct { static lssheader_t LSSHeader; +static uint16_t buffer_empty = 1; +static int buffer; + #define LSSMagic LSSHeader.LSSMagic #define GraphXSize LSSHeader.GraphXSize #define GraphYSize LSSHeader.GraphYSize @@ -114,15 +117,17 @@ static int vgasetmode(void) static inline char getnybble(void) { - char data = getc(fd); - - if (data & 0x10) { - data &= 0x0F; - return data; + if (buffer_empty) { + buffer_empty = 0; + buffer = getc(fd); + if (buffer == -1) + printf(&q...
2015 Aug 20
4
boot logo via boot.txt
We recently have upgraded syslinux and have noticed that the boot logo code via boot.txt no longer works. I have a couple patches that get it close to working but I appear to be having trouble with color maps. Is there someone would want to help me finish figuring this out? Any interest in the patches I have to fix the rle decoder?