X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/b496c2b16e66ba34a8725fb49a1bf27f0588939c..cdde55f54a0880bde5694fcdea8e386ada0cd5ce:/video/tnt2.c?ds=inline diff --git a/video/tnt2.c b/video/tnt2.c index c79912c..f23a9d7 100644 --- a/video/tnt2.c +++ b/video/tnt2.c @@ -4,6 +4,7 @@ #include #include #include +#include #include "checksumrect.h" @@ -33,11 +34,11 @@ static void tnt2_getvmode(void *priv) break; case 0: tnt2_fb.curmode.text = 1; - tnt2_fb.checksum_rect = (checksum_rect_t) 0; + tnt2_fb.checksum_rect = (checksum_rect_t) text_checksum; break; default: tnt2_fb.curmode.text = 1; - tnt2_fb.checksum_rect = (checksum_rect_t) 0; + tnt2_fb.checksum_rect = (checksum_rect_t) text_checksum; outputf("Unknown TNT2 format %x", vgard(0x28)); break; }