We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30646cc commit 1fd6545Copy full SHA for 1fd6545
arch/amiga/decoder.cc
@@ -32,7 +32,7 @@ AbstractDecoder::RecordType AmigaDecoder::advanceToNextRecord()
32
void AmigaDecoder::decodeSectorRecord()
33
{
34
const auto& rawbits = readRawBits(AMIGA_RECORD_SIZE*16);
35
- if (rawbits < (AMIGA_RECORD_SIZE*16))
+ if (rawbits.size() < (AMIGA_RECORD_SIZE*16))
36
return;
37
const auto& rawbytes = toBytes(rawbits).slice(0, AMIGA_RECORD_SIZE*2);
38
const auto& bytes = decodeFmMfm(rawbits).slice(0, AMIGA_RECORD_SIZE);
0 commit comments