Displaying 2 results from an estimated 2 matches for "lssmagic".
Did you mean:
libmagic
2015 Aug 21
2
[PATCH 2/2] core/graphics: fix lss16 parsing
...hanged, 21 insertions(+), 14 deletions(-)
diff --git a/core/graphics.c b/core/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)...
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?