Skip to content

Commit 786636e

Browse files
committed
Don't allow writing Apple 2 flux images to SCP files, because there
isn't space for the quarter-step tracks.
1 parent 18bdb27 commit 786636e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/fluxsink/scpfluxsink.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ class ScpFluxSink : public FluxSink
5252
_fileheader.start_track = strackno(minTrack, minSide);
5353
_fileheader.end_track = strackno(maxTrack, maxSide);
5454
_fileheader.flags = SCP_FLAG_INDEXED;
55+
if (globalConfig()->drive().drive_type() == DRIVETYPE_APPLE2)
56+
error("you can't write Apple II flux images to SCP files yet");
5557
if (globalConfig()->drive().drive_type() != DRIVETYPE_40TRACK)
5658
_fileheader.flags |= SCP_FLAG_96TPI;
5759
_fileheader.cell_width = 0;

0 commit comments

Comments
 (0)