mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Scramble sector number.
This commit is contained in:
@@ -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 =
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user