X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/e8f20fe7be6203b50e049bbaa057acc7f0b0d593..b88efb87848ff559e0559a5a752e30de50c4a325:/video/tnt2.c?ds=sidebyside diff --git a/video/tnt2.c b/video/tnt2.c index 32e646a..3827393 100644 --- a/video/tnt2.c +++ b/video/tnt2.c @@ -4,6 +4,9 @@ #include #include #include +#include + +#include "generic.h" static void tnt2_getvmode(void *priv); @@ -27,12 +30,18 @@ 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; + tnt2_fb.copy_pixels = copy_pixels_generic32; break; case 0: tnt2_fb.curmode.text = 1; + tnt2_fb.checksum_rect = text_checksum; + tnt2_fb.copy_pixels = text_render; break; default: tnt2_fb.curmode.text = 1; + tnt2_fb.checksum_rect = text_checksum; + tnt2_fb.copy_pixels = text_render; outputf("Unknown TNT2 format %x", vgard(0x28)); break; }