diff options
| author | 2011-02-28 09:27:05 +0000 | |
|---|---|---|
| committer | 2011-02-28 09:27:05 +0000 | |
| commit | 9ef0bcf8f2cb40d88ee35567d1850f41812b5bb4 (patch) | |
| tree | b8d40ccf79f4f7845c1fd99233e8270be0b031a8 /src/tools | |
| parent | 173642d46ca44e7c930f9fe88e0e828ec27ffa21 (diff) | |
Cleanups and version bump.mame0141u3
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/chdcd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/chdcd.c b/src/tools/chdcd.c index 0626fdc6772..ba453a2e131 100644 --- a/src/tools/chdcd.c +++ b/src/tools/chdcd.c @@ -329,7 +329,7 @@ chd_error chdcd_parse_nero(const char *tocfname, cdrom_toc *outtoc, chdcd_track_ return CHDERR_FILE_NOT_FOUND; } -// printf("NER5 detected, chain offset: %x\n", chain_offs); +// printf("NER5 detected, chain offset: %x\n", chain_offs); while (!done) { @@ -342,7 +342,7 @@ chd_error chdcd_parse_nero(const char *tocfname, cdrom_toc *outtoc, chdcd_track_ chunk_size = (buffer[7] | buffer[6]<<8 | buffer[5]<<16 | buffer[4]<<24); -// printf("Chunk type: %c%c%c%c, size %x\n", buffer[0], buffer[1], buffer[2], buffer[3], chunk_size); +// printf("Chunk type: %c%c%c%c, size %x\n", buffer[0], buffer[1], buffer[2], buffer[3], chunk_size); // we want the DAOX chunk, which has the TOC information if (!memcmp(buffer, "DAOX", 4)) @@ -354,7 +354,7 @@ chd_error chdcd_parse_nero(const char *tocfname, cdrom_toc *outtoc, chdcd_track_ fread(&start, 1, 1, infile); fread(&end, 1, 1, infile); -// printf("TOC type: %08x. Start track %d End track: %d\n", toc_type, start, end); +// printf("TOC type: %08x. Start track %d End track: %d\n", toc_type, start, end); outtoc->numtrks = (end-start) + 1; @@ -371,7 +371,7 @@ chd_error chdcd_parse_nero(const char *tocfname, cdrom_toc *outtoc, chdcd_track_ index1 = read_uint64(infile); index2 = read_uint64(infile); -// printf("Track %d: sector size %d mode %x index0 %llx index1 %llx index2 %llx (pregap %d sectors, length %d sectors)\n", track, size, mode, index0, index1, index2, (UINT32)(index1-index0)/size, (UINT32)(index2-index1)/size); +// printf("Track %d: sector size %d mode %x index0 %llx index1 %llx index2 %llx (pregap %d sectors, length %d sectors)\n", track, size, mode, index0, index1, index2, (UINT32)(index1-index0)/size, (UINT32)(index2-index1)/size); strcpy(outinfo->fname[track-1], tocfname); outinfo->offset[track-1] = offset + (UINT32)(index1-index0); |
