mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Refactor] Use collection expressions.
This commit is contained in:
@@ -44,13 +44,13 @@ namespace Aaru.Decoders.DVD;
|
||||
public sealed class Sector
|
||||
{
|
||||
static readonly ushort[] _ecma267InitialValues =
|
||||
{
|
||||
0x0001, 0x5500, 0x0002, 0x2A00, 0x0004, 0x5400, 0x0008, 0x2800, 0x0010, 0x5000, 0x0020, 0x2001, 0x0040, 0x4002,
|
||||
0x0080, 0x0005
|
||||
};
|
||||
[
|
||||
0x0001, 0x5500, 0x0002, 0x2A00, 0x0004, 0x5400, 0x0008, 0x2800, 0x0010, 0x5000, 0x0020, 0x2001, 0x0040,
|
||||
0x4002, 0x0080, 0x0005
|
||||
];
|
||||
|
||||
static readonly uint[] _edcTable =
|
||||
{
|
||||
[
|
||||
0x00000000, 0x80000011, 0x80000033, 0x00000022, 0x80000077, 0x00000066, 0x00000044, 0x80000055, 0x800000FF,
|
||||
0x000000EE, 0x000000CC, 0x800000DD, 0x00000088, 0x80000099, 0x800000BB, 0x000000AA, 0x800001EF, 0x000001FE,
|
||||
0x000001DC, 0x800001CD, 0x00000198, 0x80000189, 0x800001AB, 0x000001BA, 0x00000110, 0x80000101, 0x80000123,
|
||||
@@ -80,7 +80,7 @@ public sealed class Sector
|
||||
0x80000B83, 0x00000B92, 0x80000BC7, 0x00000BD6, 0x00000BF4, 0x80000BE5, 0x00000AA0, 0x80000AB1, 0x80000A93,
|
||||
0x00000A82, 0x80000AD7, 0x00000AC6, 0x00000AE4, 0x80000AF5, 0x80000A5F, 0x00000A4E, 0x00000A6C, 0x80000A7D,
|
||||
0x00000A28, 0x80000A39, 0x80000A1B, 0x00000A0A
|
||||
};
|
||||
];
|
||||
|
||||
readonly Dictionary<ushort, byte[]> _seeds = new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user