always set track lengths
This commit is contained in:
parent
50c9d0e8e6
commit
97752f06ff
|
@ -125,8 +125,8 @@ void DiskController::stepLss() {
|
|||
if (cmd & 8u) {
|
||||
if (cmd & 3u) {
|
||||
if (this->write) {
|
||||
const bool one = (seq&0x80u) != (this->prev_seq&0x80u);
|
||||
this->prev_seq = seq;
|
||||
const bool one = (this->seq&0x80u) != (this->prev_seq&0x80u);
|
||||
this->prev_seq = this->seq;
|
||||
this->currentDrive->writeBit(one);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -411,6 +411,8 @@ void WozFile::unload() {
|
|||
delete [] this->trk[i];
|
||||
this->trk[i] = 0;
|
||||
}
|
||||
this->trk_bits[i] = 0;
|
||||
this->trk_byts[i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue