diff options
author | 2020-12-18 03:48:47 +1100 | |
---|---|---|
committer | 2020-12-17 18:48:47 +0200 | |
commit | ccacd0f16550cd104c7a0b1b10358b7e18aeabf3 (patch) | |
tree | 1787d8117ee659590316925601a4736c635a98b8 /src/lib/util/cdrom.h | |
parent | 0e09ae932831a1f0907d330d5c392281340f3ef4 (diff) |
support Redump extended bin/cue format for Dreamcast discs (#7422)
* initial check-in of Redump bin/cue support for Dreamcast GDI
* correctly identifies multi-cue format and sets GDROM flags
* creates a working Crazy Taxi chd from a Redump bin/cue
* disabled debugging code and started tidying up
* simple tool to compare chdman bin/cue and bin/gdi conversions, should be identical
* final tidy up, the testing is going well
* testing failed for Aero Dancing i (Japan), didnt zero last track
* added some comments about .gdi compatibility
* addressing review feedback on pull request #7422
* match TOSEC layout for Pattern I discs (3 tracks)
* initial support for Pattern III discs
* Pattern III discs now work and match TOSEC layout
* reading datasize from wrong track, same result though
* identify the GDI pattern, makes the code clearer
* support for Pattern II and consecutive AUDIO tracks
* use C99 type not POSIX type to build on Windows
* support Redump tracks split across two .bin files
Diffstat (limited to 'src/lib/util/cdrom.h')
-rw-r--r-- | src/lib/util/cdrom.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/util/cdrom.h b/src/lib/util/cdrom.h index 50b762d5009..a5b6beda806 100644 --- a/src/lib/util/cdrom.h +++ b/src/lib/util/cdrom.h @@ -82,11 +82,15 @@ struct cdrom_track_info /* fields used in CHDMAN only */ uint32_t padframes; /* number of frames of padding to add to the end of the track; needed for GDI */ + uint32_t splitframes; /* number of frames to read from the next file; needed for Redump split-bin GDI */ /* fields used in MAME/MESS only */ uint32_t logframeofs; /* logical frame of actual track data - offset by pregap size if pregap not physically present */ uint32_t physframeofs; /* physical frame of actual track data in CHD data */ uint32_t chdframeofs; /* frame number this track starts at on the CHD */ + + /* fields used in multi-cue GDI */ + uint32_t multicuearea; }; |