Removed a dead code block and redundant if check from the JSON floppy image code.

This commit is contained in:
OBattler
2020-01-14 20:46:43 +01:00
parent 04247f2664
commit 30a8e248fb

View File

@@ -438,13 +438,9 @@ json_seek(int drive, int track)
pos = d86f_prepare_pretrack(drive, side, 0);
for (sector=0; sector<dev->spt[track][side]; sector++) {
if (interleave_type == 0) {
rsec = dev->sects[track][side][sector].sector;
asec = sector;
} else {
rsec = fdd_dmf_r[sector];
asec = dev->interleave_ordered[rsec][side];
}
rsec = dev->sects[track][side][sector].sector;
asec = sector;
id[0] = track;
id[1] = side;
id[2] = rsec;