Skip to content

Commit

Permalink
Naming fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
claunia committed Oct 5, 2023
1 parent bb23889 commit 85628a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CD/Subchannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public static byte[] Deinterleave(byte[] subchannel)

public static string PrettifyQ(byte[] subBuf, bool bcd, long lba, bool corruptedPause, bool pause, bool rwEmpty)
{
CRC16CCITTContext.Data(subBuf, 10, out byte[] crc);
CRC16CcittContext.Data(subBuf, 10, out byte[] crc);

bool crcOk = crc[0] == subBuf[10] && crc[1] == subBuf[11];
long minute = (lba + 150) / 4500;
Expand Down Expand Up @@ -832,7 +832,7 @@ public static byte[] Generate(int sector, uint trackSequence, int pregap, int tr

q[9] = (byte)((q[9] / 10 << 4) + q[9] % 10);

CRC16CCITTContext.Data(q, 10, out byte[] qCrc);
CRC16CcittContext.Data(q, 10, out byte[] qCrc);
q[10] = qCrc[0];
q[11] = qCrc[1];

Expand Down

0 comments on commit 85628a9

Please sign in to comment.