summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/ldverify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/ldverify.c b/src/tools/ldverify.c
index f7dd152f277..eead12de0bd 100644
--- a/src/tools/ldverify.c
+++ b/src/tools/ldverify.c
@@ -526,11 +526,11 @@ static void verify_video(video_info *video, int frame, bitmap_t *bitmap)
{
for (x = 16; x < 720 - 16; x++)
{
- yhisto[*BITMAP_ADDR16(bitmap, y, x) >> 8]++;
+ yhisto[bitmap->pix16(y, x) >> 8]++;
if (x % 2 == 0)
- cbhisto[*BITMAP_ADDR16(bitmap, y, x) & 0xff]++;
+ cbhisto[bitmap->pix16(y, x) & 0xff]++;
else
- crhisto[*BITMAP_ADDR16(bitmap, y, x) & 0xff]++;
+ crhisto[bitmap->pix16(y, x) & 0xff]++;
}
pixels += 720 - 16 - 16;
}