From 67109eef29514092df311f5989fcd62c31e1d20f Mon Sep 17 00:00:00 2001 From: Jacob Potter Date: Sun, 14 Dec 2008 03:05:52 -0500 Subject: [PATCH] use x --- video/generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/generic.c b/video/generic.c index d8b320b..319b5ad 100644 --- a/video/generic.c +++ b/video/generic.c @@ -15,7 +15,7 @@ uint32_t checksum_rect_generic32(int x, int y, int width, int height) { uint32_t sum = 0; for (i = 0; i < height; i++) { - lineaddr = fb->fbaddr + (i + y) * scanline; + lineaddr = fb->fbaddr + (i + y) * scanline + (4 * x); sum ^= crc32(lineaddr, width * 4); } -- 2.43.0