Scramble sector number.

This commit is contained in:
2019-12-31 17:32:12 +00:00
parent b2394c81d4
commit ef67cd22f8

View File

@@ -1,4 +1,4 @@
// /*************************************************************************** // /***************************************************************************
// The Disc Image Chef // The Disc Image Chef
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// //
@@ -1376,6 +1376,10 @@ namespace DiscImageChef.Core.Devices.Dumping
remainder = frame % 10; remainder = frame % 10;
frame = ((frame / 10) * 16) + remainder; frame = ((frame / 10) * 16) + remainder;
// Scramble M and S
minute ^= 0x01;
second ^= 0x80;
// Build sync // Build sync
byte[] sectorSync = byte[] sectorSync =
{ {