Previous 199869 Revisions Next

r20087 Saturday 5th January, 2013 at 19:25:13 UTC by Oliver Stöneberg
fixed filename set in NRG track parsing / added NRG test to chdman unit test (nw)
[src/lib/util]chdcd.c
[src/regtests/chdman/input/createcd_nrg_empty]in.nrg*
[src/regtests/chdman/output/createcd_nrg_empty]out.chd*

trunk/src/regtests/chdman/input/createcd_nrg_empty/in.nrg
trunk/src/regtests/chdman/output/createcd_nrg_empty/out.chd
trunk/src/lib/util/chdcd.c
r20086r20087
388388            index2 = read_uint64(infile);
389389
390390//              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);
391            outinfo.track[track-1].fname.cpy(path).cat(tocfname);
391            outinfo.track[track-1].fname.cpy(tocfname);
392392            outinfo.track[track-1].offset = offset + (UINT32)(index1-index0);
393393            outinfo.track[track-1].idx0offs = 0;
394394            outinfo.track[track-1].idx1offs = 0;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team