]> Joshua Wise's Git repositories - netwatch.git/blobdiff - video/tnt2.c
Add a first cut at text.
[netwatch.git] / video / tnt2.c
index c79912ca9a435a893a32f27d66bd779ed05999c2..f23a9d7d86aced6f786d0232edaf2f6d2769a299 100644 (file)
@@ -4,6 +4,7 @@
 #include <output.h>
 #include <fb.h>
 #include <paging.h>
+#include <text.h>
 
 #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;
        }
This page took 0.026172 seconds and 4 git commands to generate.