Commit Graph

69 Commits

Author SHA1 Message Date
c5b34ee3d9 Convert if to switch statement. 2022-11-13 19:38:03 +00:00
333d1e4310 Handle dumping CD-i discs with audio tracks and a hidden data track 1. Fixes #703 2022-04-18 15:37:36 +01:00
ec141cc251 Handle run-out sectors in CD-R(W) discs. Fixes #620 2022-04-14 13:11:48 +01:00
ff65da6c48 Use merge pattern. 2022-03-16 11:47:00 +00:00
762e3eb6d2 General cleanup and refactor. 2022-03-07 07:36:44 +00:00
0bc819feab Move to file scoped namespaces. 2022-03-06 13:29:38 +00:00
dd4451740c Update copyright year. 2022-02-20 09:34:52 +00:00
4de10d0c34 Clarify interface usage. 2021-12-28 03:20:51 +00:00
34df6087ce Refactor IMediaImage.ReadSector(s)Tag to return error status instead of buffer. 2021-09-20 20:52:18 +01:00
fbccfb2ca9 Refactor IMediaImage.ReadMediaTag to return error status instead of buffer. 2021-09-18 15:01:31 +01:00
cd41c8e59a Simplify some struct type names. 2021-09-14 21:18:28 +01:00
9dc57c2bd8 Remove deprecated FreeBSD code. 2021-09-14 20:44:06 +01:00
2851fd035a Enable to continue dumping non-removable drives if serial number if different using the force option. Fixes #455 2021-07-24 20:03:46 +01:00
56a3b7b378 Disable dumping with multisession except in AaruFormat and CDRWin formats until 6.0. 2021-07-12 18:21:37 +01:00
6e71c17de1 Fix XGD detection. 2021-02-10 17:12:23 +00:00
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
18cf585954 Do not cross into each session's first track pregap as this makes some drives fail. Fixes #406 2020-12-03 15:52:06 +00:00
a69873ff90 Do not dump multi-session CDs in Plextor drives connected to a USB bridge until #406 is fixed. 2020-12-02 17:30:23 +00:00
80963d1cb8 Do not generate subchannels if aborted. Fixes #453 2020-11-21 15:35:19 +00:00
8a105cd72d Fix retrieving CD drive offsets from database when model or manufacturer contains a slash. Fixes #454 2020-11-20 02:42:23 +00:00
3fdf990924 Use track 1's first sector to check readability of CompactDisc media. 2020-11-07 17:39:50 +00:00
8da92d7408 Fix detection of hidden data track mode when drive returns it scrambled. Fixes #380 2020-11-07 02:52:16 +00:00
cea53a02bd Fix null reference exception from previous commit. 2020-11-05 11:02:12 +00:00
c94530e685 Get back tracks, indexes, MCN and ISRCs from resumed file. Fixes #376 2020-11-05 01:21:54 +00:00
e75a1a4f69 Use image capabilities when dumping CDs. 2020-10-23 04:06:10 +01:00
c104a51d5a Add support for dumping CDs to images that only support cooked user data. Fixes #378 2020-10-23 04:01:55 +01:00
2376b65763 Code style fixes. 2020-07-22 13:20:25 +01:00
9cfef45856 Code cleanup. 2020-07-20 04:34:16 +01:00
b42963e398 Fix pregap calculation in track mode changes when pregap ends in 0. 2020-07-19 14:50:28 +01:00
b0f01f53f0 Handle discs that have pregap ending in LBA 1 instead of ending in LBA 0. 2020-07-18 20:43:37 +01:00
dca471be1e Fix not exiting when an image cannot be appended. 2020-07-14 14:24:25 +01:00
f1244d543c Move subchannel generation and fixing to a separate class. 2020-07-14 01:06:23 +01:00
6a5b18bf45 Add option to generate subchannels for undumped ones. 2020-07-13 22:32:47 +01:00
a4b4329c2b Change database name to be more inclusive. 2020-07-13 19:41:42 +01:00
84ee971ad8 Do not show speed burst if they have not been set. Fixes #346 2020-06-25 01:47:25 +01:00
dbbb6812d2 Support dumping CD-i Ready when drive returns data sectors as audio. Fixes #294 2020-06-25 01:13:02 +01:00
e4ce5bc32d Fix checking track does not exist. 2020-06-21 14:49:25 +01:00
12108dcf07 Skip intersession when retrying subchannel. 2020-06-17 02:03:01 +01:00
b3e5ada998 Add option to skip hole between data and audio in CD-i Ready discs. Fixes #295 2020-06-17 01:59:09 +01:00
51bb3d729b Fix dumping when read subchannel is PQ only. 2020-06-14 23:45:41 +01:00
d1a970698e Change how ISRC and track flags are read from / written to images, to use track number instead of track start. 2020-06-14 23:45:26 +01:00
7b85eaa224 Fix setting track subchannel type to the desired type. 2020-06-14 22:53:52 +01:00
1f52389048 Optimize speed when reading subchannels. 2020-06-14 18:42:33 +01:00
87dc8029b5 Allow to retry bad subchannel sectors. 2020-06-13 19:15:27 +01:00
5c6b0e70c0 Update the pregap while dumping if found to be bigger than known one. 2020-05-05 23:25:15 +01:00
9e72a69ba9 Use subchannel, if available, to set MCN. 2020-05-05 21:08:41 +01:00
fb947e3d5c Use subchannel, if available, to set ISRC. 2020-05-05 20:26:18 +01:00
06dfb76728 Fix checking if drive reads subchannel in BCD. 2020-05-05 18:55:40 +01:00
3207fd7920 Detect if subchannel is returned by drive in BCD when dumping. 2020-05-05 17:53:06 +01:00
723cf34f38 Use image characteristics to decide is subchannel can be written or not. 2020-05-05 16:58:26 +01:00