Increase the smaky disk signature to 32 bits.

This commit is contained in:
dg
2022-11-26 22:56:45 +00:00
parent c53109e1a1
commit c374ffd15e

View File

@@ -12,7 +12,7 @@
#include <string.h> #include <string.h>
#include <algorithm> #include <algorithm>
static const FluxPattern SECTOR_PATTERN(28, 0x4892aaa); static const FluxPattern SECTOR_PATTERN(32, 0x54892aaa);
class Smaky6Decoder : public Decoder class Smaky6Decoder : public Decoder
{ {
@@ -110,7 +110,7 @@ public:
void decodeSectorRecord() override void decodeSectorRecord() override
{ {
readRawBits(29); readRawBits(33);
const auto& rawbits = readRawBits(SMAKY6_RECORD_SIZE * 16); const auto& rawbits = readRawBits(SMAKY6_RECORD_SIZE * 16);
if (rawbits.size() < SMAKY6_SECTOR_SIZE) if (rawbits.size() < SMAKY6_SECTOR_SIZE)
return; return;