]> 4ch.mooo.com Git - 16.git/commitdiff
wwww
authorsparky4 <sparky4@cock.li>
Wed, 1 Feb 2017 14:52:07 +0000 (08:52 -0600)
committersparky4 <sparky4@cock.li>
Wed, 1 Feb 2017 14:52:07 +0000 (08:52 -0600)
src/lib/16_vl.c

index fbf51fa6bbffd2dd6c91916dc6b291fad8d7f86f..1f2ef54e37496cdd29870f0572d107746b0f7ab3 100755 (executable)
@@ -693,7 +693,7 @@ void VL_LoadPalFile(const char *filename, byte *palette)
        if (fd >= 0) {\r
                word i;\r
 \r
-               read(fd,palette,768);\r
+               read(fd,palette,        PAL_SIZE);\r
                close(fd);\r
 \r
                vga_palette_lseek(0);\r