for(uint32_t i=0; i<141; i+=4)
{
SynthesizeTrack(i);
- int a = random() & 0x03;
+ int a = rand() & 0x03;
Global::trackStatus[i] = (a == 0 ? 3 : a);
emit(ShowTracks());
}
continue;
SynthesizeTrack(i);
- int a = random() & 0x03;
+ int a = rand() & 0x03;
Global::trackStatus[i] = (a == 0 ? 3 : a);
emit(ShowTracks());
}
woz->track[i].bitCount = Uint16LE(Global::bStreamLenBits[i]);
startBlock += blockLen;
- if (blockCount > largestBlock)
- largestBlock = blockCount;
+ if (blockLen > largestBlock)
+ largestBlock = blockLen;
}
woz->largestTrack = Uint16LE(largestBlock);