From ef028e5822c4c1f19f81ec5aa4d9505dc087b818 Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 23 Mar 2020 17:50:51 -0700 Subject: [PATCH] Add a comment because this is confusing --- src/m_anigif.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/m_anigif.c b/src/m_anigif.c index 15528599b..eef94a522 100644 --- a/src/m_anigif.c +++ b/src/m_anigif.c @@ -466,6 +466,10 @@ static void GIF_headwrite(void) WRITEUINT16(p, rheight); // colors, aspect, etc + /* + also these are magical values, check out + https://tronche.com/computer-graphics/gif/gif89a.html#screen-descriptor + */ WRITEUINT8(p, 0xF7); // (0xF7 = 1111 0111) WRITEUINT8(p, 0x00); WRITEUINT8(p, 0x00);