]> Joshua Wise's Git repositories - netwatch.git/commitdiff
That is almost certainly all the cause of my woe.
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 14 Dec 2008 05:15:29 +0000 (00:15 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 14 Dec 2008 05:15:29 +0000 (00:15 -0500)
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.029157 seconds and 4 git commands to generate.