mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
fixed filename set in NRG track parsing / added NRG test to chdman unit test (nw)
This commit is contained in:
parent
3d1e0d9d65
commit
035a7fe8e8
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -8044,10 +8044,12 @@ src/regtests/chdman/chdtest.py svneol=native#text/plain
|
||||
src/regtests/chdman/input/createcd_cue_empty/in.bin -text
|
||||
src/regtests/chdman/input/createcd_cue_empty/in.cue svneol=native#text/plain
|
||||
src/regtests/chdman/input/createcd_iso_empty/in.iso -text
|
||||
src/regtests/chdman/input/createcd_nrg_empty/in.nrg -text
|
||||
src/regtests/chdman/input/createcd_toc_empty/data.bin -text
|
||||
src/regtests/chdman/input/createcd_toc_empty/in.toc svneol=native#text/plain
|
||||
src/regtests/chdman/output/createcd_cue_empty/out.chd -text
|
||||
src/regtests/chdman/output/createcd_iso_empty/out.chd -text
|
||||
src/regtests/chdman/output/createcd_nrg_empty/out.chd -text
|
||||
src/regtests/chdman/output/createcd_toc_empty/out.chd -text
|
||||
src/regtests/jedutil/baseline/18cv8/18cv8_combinatorial_feedback.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/18cv8/18cv8_register_feedback.txt svneol=native#text/plain
|
||||
|
@ -388,7 +388,7 @@ chd_error chdcd_parse_nero(const char *tocfname, cdrom_toc &outtoc, chdcd_track_
|
||||
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);
|
||||
outinfo.track[track-1].fname.cpy(path).cat(tocfname);
|
||||
outinfo.track[track-1].fname.cpy(tocfname);
|
||||
outinfo.track[track-1].offset = offset + (UINT32)(index1-index0);
|
||||
outinfo.track[track-1].idx0offs = 0;
|
||||
outinfo.track[track-1].idx1offs = 0;
|
||||
|
BIN
src/regtests/chdman/input/createcd_nrg_empty/in.nrg
Normal file
BIN
src/regtests/chdman/input/createcd_nrg_empty/in.nrg
Normal file
Binary file not shown.
BIN
src/regtests/chdman/output/createcd_nrg_empty/out.chd
Normal file
BIN
src/regtests/chdman/output/createcd_nrg_empty/out.chd
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user