X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/c1cc31ac5cc581f2142c15794ef7c6cfaa3ec6d9..7285933f38997aa06e220f23f9a9f54ca3fb41e9:/video/generic.c?ds=sidebyside diff --git a/video/generic.c b/video/generic.c index 8c6866d..95f564f 100644 --- a/video/generic.c +++ b/video/generic.c @@ -17,7 +17,7 @@ uint32_t checksum_rect_generic32(int x, int y, int width, int height) { for (i = 0; i < height; i++) { lineaddr = fb->fbaddr + (i + y) * scanline + (4 * x); - sum ^= crc32(lineaddr, width * 4); + sum = crc32(lineaddr, width * 4, sum); } return sum;