X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/e8f20fe7be6203b50e049bbaa057acc7f0b0d593..b496c2b16e66ba34a8725fb49a1bf27f0588939c:/video/tnt2.c diff --git a/video/tnt2.c b/video/tnt2.c index 32e646a..c79912c 100644 --- a/video/tnt2.c +++ b/video/tnt2.c @@ -5,6 +5,8 @@ #include #include +#include "checksumrect.h" + static void tnt2_getvmode(void *priv); static struct fbdevice tnt2_fb = { @@ -27,12 +29,15 @@ static void tnt2_getvmode(void *priv) tnt2_fb.curmode.format = FB_RGB888; tnt2_fb.curmode.bytestride = 4; tnt2_fb.curmode.text = 0; + tnt2_fb.checksum_rect = checksum_rect_generic32; break; case 0: tnt2_fb.curmode.text = 1; + tnt2_fb.checksum_rect = (checksum_rect_t) 0; break; default: tnt2_fb.curmode.text = 1; + tnt2_fb.checksum_rect = (checksum_rect_t) 0; outputf("Unknown TNT2 format %x", vgard(0x28)); break; }