From: sparky4 Date: Wed, 1 Feb 2017 14:52:07 +0000 (-0600) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=4b8375fa5e4183c2a46e232d43f0c4808a93e940;p=16.git wwww --- diff --git a/src/lib/16_vl.c b/src/lib/16_vl.c index fbf51fa6..1f2ef54e 100755 --- a/src/lib/16_vl.c +++ b/src/lib/16_vl.c @@ -693,7 +693,7 @@ void VL_LoadPalFile(const char *filename, byte *palette) if (fd >= 0) { word i; - read(fd,palette,768); + read(fd,palette, PAL_SIZE); close(fd); vga_palette_lseek(0);