X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/1deef7f33c284af59d562e7b50812f9649e94d0b..f2da68c5992fe2c29cced7e51709d0a45e0bb3b4:/video/text.c diff --git a/video/text.c b/video/text.c index 25fe245..7fe30c9 100644 --- a/video/text.c +++ b/video/text.c @@ -91,7 +91,7 @@ uint32_t text_checksum(int x, int y, int w, int h) cx = x; texty = cy / 14; textx = cx / 9; - cksm ^= crc32(video + texty * 160 + textx * 2, (w / 9 + 1) * 2); /* Err on the side of 'too many'. */ + cksm = crc32(video + texty * 160 + textx * 2, (w / 9) * 2 + 2, cksm); /* Err on the side of 'too many'. */ } smram_restore_state(old_state);