Commit Graph

78 Commits

Author SHA1 Message Date
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
2f6ef0c498 Remove unreachable code. 2022-11-15 00:17:12 +00:00
0eb589d785 Use Stream extension to ensure read operations return the requested number of bytes (unless EOF arrives first). 2022-11-14 09:43:16 +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
15b36ff898 Use LINQ's MinBy and MaxBy. 2022-11-14 01:04:32 +00:00
c316cef523 Convert if to return statements. 2022-11-13 20:54:06 +00:00
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +00:00
6911b6e175 Use foreach instead of for-loops where appropriate. 2022-11-13 20:31:51 +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
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
71d7570eea Adapt last commit to new API. 2021-09-26 17:21:26 +01:00
Rebecca Wallander
bfd5b4f390 Add pregap to second session in redump gdrom 2021-09-25 23:58:09 +01:00
8b4d3f7254 Ensure CDRWin indexes are sorted. 2021-09-25 04:08:18 +01:00
Rebecca Wallander
78fd64d322 Fix redump GD-ROM reading 2021-09-25 04:06:05 +01:00
42597b89cf Remove all image thrown exceptions. 2021-09-21 04:55:28 +01:00
97c6b131b5 Refactor IOpticalMediaImage.ReadSector(s)Tag to return error status instead of buffer. 2021-09-21 03:42:15 +01:00
bc8382e495 Refactor IOpticalMediaImage.ReadSector(s)Long to return error status instead of buffer. 2021-09-21 02:59:54 +01:00
b7fa638410 Refactor IOpticalMediaImage.ReadSector(s) to return error status instead of buffer. 2021-09-21 01:38:54 +01:00
34df6087ce Refactor IMediaImage.ReadSector(s)Tag to return error status instead of buffer. 2021-09-20 20:52:18 +01:00
a6690aa121 Refactor IMediaImage.ReadSector(s)Long to return error status instead of buffer. 2021-09-20 14:22:22 +01:00
f51d414abd Refactor IMediaImage.ReadSector(s) to return error status instead of buffer. 2021-09-19 21:16:47 +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
8982cfc8c9 Use properties instead of methods in IFilter. 2021-09-15 11:25:26 +01:00
cd41c8e59a Simplify some struct type names. 2021-09-14 21:18:28 +01:00
75edb759e6 General code refactor. 2021-08-17 21:23:10 +01:00
39e73b16a0 Fix inconsistent naming. 2021-08-17 16:27:42 +01:00
00f605b0ca Add XML comments to public entities. 2021-08-17 13:56:05 +01:00
09a89fa51c Fix setting index sectors on multi-file CDRWin disc images. Fixes #643 2021-07-23 12:02:20 +01:00
403b1a8571 Show a message that DVD images in CDRWin format created with MagicISO are most probably unrecoverable garbage. 2021-07-10 03:07:27 +01:00
882c1dffed Fix skipping non-present pregap in CDRWin disc images when there is more than one. 2021-07-01 22:37:28 +01:00
0611c508bc Move detection of missing data from multisession CDRWin images to after we know if it is a CD image or not. 2021-06-30 22:32:11 +01:00
a107242d2c Detect corrupt DVD images in cuesheet format created by PowerISO and stop processing. 2021-06-30 22:31:38 +01:00
2d649d7736 Fix setting application to MagicISO in CDRWin. 2021-06-30 22:31:15 +01:00
71472ad844 Fix completely wrong handling of "PREGAP" value in CDRWin images. 2021-06-30 22:01:55 +01:00
1ee69230d9 Merge pull request #610 from aaru-dps/fakeshemp/bug/redump_gdrom
Fix reading Redump GD-ROM dumps
2021-06-08 22:24:17 +01:00
Rebecca Wallander
92073d949e Add error message when trying to convert vanilla multi-session redump dumps 2021-06-08 22:40:44 +02:00
Rebecca Wallander
567288e6a8 Fix reading Redump GD-ROM dumps 2021-06-08 22:12:11 +02:00
617cc92c5f Use same processing for PREGAP than for INDEX 00 in CDRWin disc images. Fixes #510 2021-06-07 22:28:13 +01:00
afaacd20e8 Fix sectors calculations in CDRWin disc images. Fixes #501 2021-06-07 20:47:05 +01:00
5aeea8c15e Try to detect, and workaround, CDRWin disc images that lack the first track data when there's a hidden track, as such created by PowerISO. Fixes #547 2021-06-07 02:21:51 +01:00
698c7276e4 Detect incorrect DVD images in CDRWin disc image format created by MagicISO. Fixes #518 2021-06-06 17:34:17 +01:00
0fc8f6996e Do not reconstruct long sectors when media is not a CD in CDRWin disc images. Fixes #504 2021-06-06 17:30:38 +01:00
9493db6048 Do not allow CD-only tags on non-CD media in CDRWin images. Fixes #502 2021-06-06 13:56:10 +01:00
f2a1dd638c Fix reading track flag when track 1 has a pregap bigger than 150 sectors in CDRWin Cuesheet. 2021-01-16 16:59:49 +00:00