From 6ab99ee6572e73b19aa5eefe55be496a5d319b34 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Mon, 3 May 2021 23:51:34 +0200 Subject: [PATCH] comments --- src/2gsformats.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/2gsformats.c b/src/2gsformats.c index 42057756..6bfec0f0 100644 --- a/src/2gsformats.c +++ b/src/2gsformats.c @@ -225,8 +225,12 @@ void Load_2GS(T_IO_Context * context) goto error; for (y = 0; y < height; y++) { - word linebytes; - byte linemode; + word linebytes; /* packed bytes for this scanline */ + byte linemode; /* Scanline Control Byte : rif0pppp + ||| |_ palette index + |||_____ fill mode 0/1 + ||______ interrupt enabled 0/1 + |_______ 0 : 320px, 1 : 640px */ word x; T_Components linepal[16]; if (multipalcount > y)