summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/pasti_dsk.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2023-03-16 13:30:00 +0100
committer Olivier Galibert <galibert@pobox.com>2023-03-16 13:30:42 +0100
commit76584fa8d9377684c98444978c50806007764872 (patch)
tree0ebb7241abe5a05b4ee68fe8818c1dce7e98d808 /src/lib/formats/pasti_dsk.cpp
parent5a48aef017e8bea7070c3ddbe3ab6060052b68f5 (diff)
pasti: Setup form and variant
Diffstat (limited to 'src/lib/formats/pasti_dsk.cpp')
-rw-r--r--src/lib/formats/pasti_dsk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/pasti_dsk.cpp b/src/lib/formats/pasti_dsk.cpp
index c190f69f170..8b207a99975 100644
--- a/src/lib/formats/pasti_dsk.cpp
+++ b/src/lib/formats/pasti_dsk.cpp
@@ -161,7 +161,7 @@ bool pasti_format::load(util::random_read &io, uint32_t form_factor, const std::
}
}
- image->set_variant(floppy_image::DSDD);
+ image->set_form_variant(floppy_image::FF_35, heads > 1 ? floppy_image::DSDD : floppy_image::SSDD);
return true;
}