Commit Graph

223 Commits

Author SHA1 Message Date
c1f8c8b8a7 Fix setting tracks in image when non-CD optical disc does not return a proper track list. Fixes #675 2021-09-30 02:26:33 +01: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
ef2fc1788a Refactor IMediaImage.Open to return error status instead of boolean. 2021-09-16 19:10:39 +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
7237bbb4e8 Fix dumping non-CD optical media when drive does not return track list. 2021-09-14 16:13:45 +01:00
ed4d2f9c11 Use Spectre for device report command. 2021-09-13 18:08:44 +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
75edb759e6 General code refactor. 2021-08-17 21:23:10 +01:00
4fcaeffc85 Merge into pattern. 2021-08-17 18:24:01 +01:00
fdff1d74c9 Use Array.Empty<T>. 2021-08-17 18:23:50 +01:00
11cedc2483 Conditional access is known to be not null. 2021-08-17 17:36:32 +01:00
f203b537a8 Add TODO to check floppy page. 2021-08-17 17:32:40 +01:00
a759557fe0 Fix missing parameter comment documentation. 2021-08-17 17:27:21 +01:00
45798d5d00 Remove null supressions. 2021-08-17 17:19:48 +01:00
ad861f5a74 Fix possible exceptions. 2021-08-17 17:14:48 +01:00
807c7c5313 Set culture on string comparisons. 2021-08-17 16:58:44 +01:00
c6f5ece939 Remove redundant assignments. 2021-08-17 14:40:50 +01:00
c1287c00cf Remove redundant parentheses. 2021-08-17 14:27:19 +01:00
00f605b0ca Add XML comments to public entities. 2021-08-17 13:56:05 +01:00
10d286ada6 Fix null propagation order of operation. Fixes #472 2021-08-09 03:35:49 +01:00
0a91a2ccee Write media tags to image even when aborted. Fixes #509 2021-08-04 02:00:39 +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
89b0ae5206 Stop processing sidecar when aborted. Fixed #470 2021-08-03 14:12:59 +01:00
Darkstar
741ef99f9f Fix Blocksize from Read16 for media dump 2021-07-28 21:41:17 +02: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
e702578562 Use SCSI reader detection of maximum supporter blocks to read at once when scanning non-CD media. Fixes #516 2021-07-05 01:31:52 +01:00
ec375a61b5 Allow scanning Audio CD on drives that don't allow READ(12) on them. Fixes #432 2021-06-28 19:44:59 +01:00
a77fb96a00 Detect when DVD book type is different from drive's firmware profile. 2021-06-23 14:48:22 +01:00
7a3d20af02 Fix exception when dumping DVD disc with no CMI. 2021-06-16 18:44:28 +01:00
24baa7e69a Use same codepath for calculating optical media tag sidecar fields dumping or from image. Fixes #566 2021-06-04 18:17:53 +01:00
Rebecca Wallander
4664c60f5a fix bug with printing 'title keys dumping' when there are none to be dumped 2021-04-30 17:51:56 +02:00
8a0064e870 Check support for READ LONG(16) in device report. 2021-03-26 05:38:40 +00: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
7ee8988534 Workaround firmware bug in iHOS104 drive when doing device report. 2021-03-25 23:22:33 +00:00
753a40465e Add media type and detection of PlayStation 5 Ultra HD Blu-ray game discs. 2021-02-10 17:12:24 +00:00
06910eabce Add detection and media type for Ultra HD Blu-ray. 2021-02-10 17:12:23 +00:00
6e71c17de1 Fix XGD detection. 2021-02-10 17:12:23 +00:00
Rebecca Wallander
71ae4b5df7 Fix crash when resuming and disc key is not present 2021-01-31 12:02:18 +01:00
539037d5c7 Merge pull request #535 from aaru-dps/fakeshemp/device-info-region
Add DVD region report to device info
2021-01-24 17:51:32 +00:00
Rebecca Wallander
0eafb95e00 Add DVD region report to device info 2021-01-24 18:50:36 +01:00
a784b5549f Merge pull request #530 from aaru-dps/fakeshemp/titlekeys-detection
Strengthen the detection of needing to dump DVD title keys
2021-01-19 14:44:24 +00:00