diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-10-02 05:34:21 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-10-02 05:34:21 +0000 |
commit | 5123b0711567fef3a844c0817aa5631ba13c1f5c (patch) | |
tree | 3b012ce71c4c4b4e7ab58b42fc186cff2329af12 /src/tools | |
parent | cf63e2baa806398d22df4171e0f683c047a64204 (diff) |
Cleanups and version bump.mame0127u6
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/ldverify.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/ldverify.c b/src/tools/ldverify.c index 4b1797e474a..296a0870b7a 100644 --- a/src/tools/ldverify.c +++ b/src/tools/ldverify.c @@ -233,7 +233,7 @@ static int read_chd(void *file, int frame, bitmap_t *bitmap, INT16 *lsound, INT1 *samples = 0; for (fieldnum = 0; fieldnum < interlace_factor; fieldnum++) { - /* make a fake bitmap for this field */ + /* make a fake bitmap for this field */ fakebitmap = *bitmap; fakebitmap.base = BITMAP_ADDR16(&fakebitmap, fieldnum, 0); fakebitmap.rowpixels *= interlace_factor; @@ -253,7 +253,7 @@ static int read_chd(void *file, int frame, bitmap_t *bitmap, INT16 *lsound, INT1 chderr = chd_read(file, frame * interlace_factor + fieldnum, NULL); if (chderr != CHDERR_NONE) return FALSE; - + /* account for samples read */ *samples += numsamples; } @@ -377,7 +377,7 @@ static void verify_video(int frame, bitmap_t *bitmap) /* remember the frame number */ video_last_frame = framenum; - + /* if we've seen a white flag before, but it's not here, warn */ if (video_first_whitefield != -1 && !metadata.white) printf("%6d.%d: detected frame number but no white flag (WARNING)\n", frame, fieldnum); @@ -392,12 +392,12 @@ static void verify_video(int frame, bitmap_t *bitmap) video_first_whitefield = field; printf("%6d.%d: first white flag seen\n", frame, fieldnum); } - + /* if we've seen frame numbers before, but not here, warn */ if (video_last_frame != -1 && (metadata.line1718 & VBI_MASK_CAV_PICTURE) != VBI_CODE_CAV_PICTURE) printf("%6d.%d: detected white flag but no frame number (WARNING)\n", frame, fieldnum); } - + /* if this is the start of a frame, handle cadence */ if (metadata.white || (metadata.line1718 & VBI_MASK_CAV_PICTURE) == VBI_CODE_CAV_PICTURE) { |