]> Joshua Wise's Git repositories - netwatch.git/blobdiff - video/text.c
That is almost certainly all the cause of my woe.
[netwatch.git] / video / text.c
index e7b0db30f7db916f61fa23873e2d5391082c6aab..962af0ca0afc65d7587e11f0970336cc4fd15b7f 100644 (file)
@@ -39,6 +39,7 @@ void text_render(char *buf, int x, int y, int w, int h)
        smram_aseg_set_state(SMRAM_ASEG_SMMCODE);
        for (cy = y; cy < (y + h); cy++)
        {
+               cx = x;
                texty = cy / 14;
                textx = cx / 9;
                ch = video[texty * 50 + textx * 2];
@@ -89,6 +90,7 @@ uint32_t text_checksum(int x, int y, int w, int h)
        
        for (cy = y; cy < (y + h); cy++)
        {
+               cx = x;
                texty = cy / 14;
                textx = cx / 9;
                ch = video[texty * 50 + textx * 2];
This page took 0.021612 seconds and 4 git commands to generate.