minimig: fix fdd corruption upon write.
This commit is contained in:
@@ -562,7 +562,8 @@ void WriteTrack(adfTYPE *drive)
|
||||
|
||||
unsigned long lba = drive->track * SECTOR_COUNT;
|
||||
|
||||
drive->track_prev = drive->track + 1; // just to force next read from the start of current track
|
||||
// drive->track_prev = drive->track + 1; // This causes a read that directly follows a write to the previous track to return bad data.
|
||||
drive->track_prev = -1; // just to force next read from the start of current track
|
||||
|
||||
while (FindSync(drive))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user