Commit Graph

118 Commits

Author SHA1 Message Date
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
7c384310f0 When pregap changes track start during trimming, ensure it is re-read. 2021-09-06 00:44:37 +01:00
44b0a10895 Restore speed reduction on audio reading disabled by previous commit. 2021-09-05 19:10:05 +01:00
b174c3f524 Fix reading first audio sectors in track type change as garbage on drives that can read scrambled data. 2021-09-05 19:09:22 +01:00
82934f0c3d Do not try to read as audio data sectors with medium error. 2021-09-05 06:48:10 +01:00
5ccb874882 Fix infinite loop when dumping multisession disc. 2021-09-05 05:36:05 +01:00
4fcaeffc85 Merge into pattern. 2021-08-17 18:24:01 +01:00
807c7c5313 Set culture on string comparisons. 2021-08-17 16:58:44 +01:00
c1287c00cf Remove redundant parentheses. 2021-08-17 14:27:19 +01:00
1af36c75bd Try to reduce workaround some firmware bug in some audio CDs with hidden audio for #605. 2021-08-03 21:14:59 +01:00
aa2dbf3b94 Fix overflow calculations of blocks when device has more than 0x7FFFFFFF blocks. 2021-07-28 17:16:38 +01:00
2b52a5b0a6 Fix speed calculations for very fast devices. Fixes #473 2021-07-28 01:42:52 +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
eda85862cd Decode fixed or descriptor SCSI sense in a single pass, use whichever was returned by drive. 2021-03-26 00:37:54 +00: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
9dec4df51e Move delegates to common types. 2020-12-31 19:28:47 +00:00
3546c35d42 Do not calculate pregaps when dumping on a Plextor as some older models contains firmware bugs that crash the bus.
It is not needed really when dumping.
2020-12-05 14:04:27 +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
6877589cc9 General code clean-up, refactor and commenting. 2020-11-11 04:19:18 +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
6c58083c64 Change method of reading subchannels in Plextor drives, fixes #395 2020-11-06 00:26:23 +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
f92f122443 Change how pregap starting with 0 is calculated dumping vs converting. Fixes #375 2020-11-04 23:55:24 +00:00
49dda86cd8 Ensure only unique bad blocks are saved in resume file. Fixes #381 2020-11-03 01:40:10 +00:00
080ad0ed51 Set ATIP to be a class to ensure it is nulled properly.. Fixes #352 2020-11-01 20:10:35 +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
db03ca31f9 Disable FUA to fix reading from old SCSI disks. 2020-10-17 02:15:15 +01:00
2376b65763 Code style fixes. 2020-07-22 13:20:25 +01:00
6220425ac6 Naming fixes. 2020-07-20 21:11:32 +01:00
0e7a86880e Fix unused code. 2020-07-20 07:47:12 +01:00
163d2ce8db Add missing XML documentation. 2020-07-20 06:02:34 +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
64689fafaa Fix infinite loop on some CD track mode changes while dumping. 2020-07-18 13:59:22 +01:00
439f685ce4 Trim as audio when we know it is an audio sector, fixes some firmware bugs in audio pregap after a data track. 2020-07-14 15:04:20 +01:00
533a94bdc9 Fix infinite loop when Lead-Out cannot be crossed. 2020-07-14 14:24:44 +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