X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/4a4bc0fa423f2c3ffc37adb7f8c7c221d1a9ac82..8ba7e5b28a7f23ebf2423df41379516c8cbac6b5:/video/tnt2.c diff --git a/video/tnt2.c b/video/tnt2.c index c04b067..3827393 100644 --- a/video/tnt2.c +++ b/video/tnt2.c @@ -4,8 +4,9 @@ #include #include #include +#include -#include "checksumrect.h" +#include "generic.h" static void tnt2_getvmode(void *priv); @@ -30,12 +31,17 @@ static void tnt2_getvmode(void *priv) 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; }