Commit Graph

55 Commits

Author SHA1 Message Date
938b40f774 Move all localizable strings from Aaru.Core project to resources. 2022-11-23 16:06:46 +00:00
2f9b7fe0a1 General code cleanup and style refactor. 2022-11-15 15:58:48 +00:00
bd3fe7bd4e General code style and feature fixes. 2022-11-15 01:35:15 +00:00
040b4eab4e More pattern matching. 2022-11-14 01:49:18 +00:00
e0508f096c Inline 'out' variable declaration. 2022-11-14 01:10:11 +00:00
d64c48dc6d Invert 'if' statements to reduce nesting. 2022-11-13 21:14:18 +00:00
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +00:00
0f94c5fc01 Convert local variable or field into constant. 2022-11-13 20:08:10 +00:00
fca57318f5 Convert to switch expression. 2022-11-13 19:59:30 +00:00
c5b34ee3d9 Convert if to switch statement. 2022-11-13 19:38:03 +00:00
8d551c2d2a Remove spurious calls in device report. 2022-10-27 11:00:44 +01:00
a37e0f3e7e Add workaround for device report the AccessTek/Optorite DD0203 drive. 2022-10-27 10:59:41 +01:00
1927868706 More code cleanups. 2022-03-26 16:51:26 +00:00
f0fa4d4320 Remove unused code. 2022-03-17 23:54:41 +00:00
ff65da6c48 Use merge pattern. 2022-03-16 11:47:00 +00:00
5f14f0e79c Fix unused variables. 2022-03-16 00:31:33 +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
a93c2bdb42 Fix device report not reading PFI and DMI from Nintendo optical discs. 2021-10-01 02:51:18 +01:00
62e9467c2f Fix device report not reading PFI and DMI from DVD+. 2021-10-01 02:47:20 +01:00
ed4d2f9c11 Use Spectre for device report command. 2021-09-13 18:08:44 +01:00
75edb759e6 General code refactor. 2021-08-17 21:23:10 +01:00
11cedc2483 Conditional access is known to be not null. 2021-08-17 17:36:32 +01:00
807c7c5313 Set culture on string comparisons. 2021-08-17 16:58:44 +01:00
00f605b0ca Add XML comments to public entities. 2021-08-17 13:56:05 +01:00
aa2dbf3b94 Fix overflow calculations of blocks when device has more than 0x7FFFFFFF blocks. 2021-07-28 17:16:38 +01: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
41d750cb06 Rename MediaTek F1h command 06h subcommand. 2021-01-17 17:16:44 +00:00
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
72870f3c10 Detect USB flash drives that identify themselves as CD readers but are in reality just block devices. 2020-12-03 17:45:11 +00:00
ee1250ea0e On device report try other ways of getting the MODE SENSE values that are more effective with certain devices. 2020-12-03 17:44:22 +00:00
6877589cc9 General code clean-up, refactor and commenting. 2020-11-11 04:19:18 +00:00
73faa18421 Guard against null block descriptors in SCSI modes. Fixes #387. 2020-11-01 22:00:52 +00: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
f1fa52716c Fix namespaces. 2020-07-20 15:43:52 +01:00
0e7a86880e Fix unused code. 2020-07-20 07:47:12 +01:00
9cfef45856 Code cleanup. 2020-07-20 04:34:16 +01:00
71b4228a83 Fix block reading sizes in GD-ROM device report. 2020-07-18 19:37:26 +01:00
3e73d38517 Consider if the F1h command 06h subcommand returns the same data when trying lead-out than when tried LBA 0, it was a failure. 2020-07-18 15:04:08 +01:00
548d3ebf81 Create report using swap trick for GD-ROM. 2020-07-12 00:20:19 +01:00
df37826a91 Add MediaTek command F1h subcommand 06h to device report. 2020-07-11 20:25:41 +01:00
d70875188c On device report, read sector 11 for data CDs with subchannel to be able to report if subchannel is BCD or not. 2020-05-13 10:44:26 +00:00
396f87d826 Correctly handle report of pregap and leadin readability. 2020-05-13 10:43:59 +00:00
515d6f1937 On device report try only a few track 1 pregap sectors. 2020-05-13 10:43:28 +00:00
8bf8f4fd78 Add option to not store paths and serial numbers when dumping. Fixes #213 2020-03-11 15:28:04 +00:00