diff options
author | arbee <rb6502@users.noreply.github.com> | 2021-01-10 16:35:20 -0500 |
---|---|---|
committer | arbee <rb6502@users.noreply.github.com> | 2021-01-10 16:35:20 -0500 |
commit | 81e5960881ddeb9680c86ed3e4a4e685920a1d96 (patch) | |
tree | be677ad79fed382bfa767be9c88e7aec31ea7ec9 | |
parent | e5a776b5412b418e0924935c4606333eaaf335a2 (diff) |
imd_dsk: restore # of tracks check [R. Belmont]
-rw-r--r-- | src/lib/formats/imd_dsk.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/formats/imd_dsk.cpp b/src/lib/formats/imd_dsk.cpp index 25ba6c22791..2e987b73c16 100644 --- a/src/lib/formats/imd_dsk.cpp +++ b/src/lib/formats/imd_dsk.cpp @@ -498,7 +498,10 @@ bool imd_format::load(io_generic *io, uint32_t form_factor, const std::vector<ui if ((has_variant(variants, floppy_image::DSQD)) || (has_variant(variants, floppy_image::DSHD))) { - m_trackmult = 2; + if (maxtrack <= 39) + { + m_trackmult = 2; + } } pos = savepos; |