summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/apollo_dsk.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-03-25 15:02:54 +0100
committer Olivier Galibert <galibert@pobox.com>2022-03-30 15:45:35 +0200
commit33bdc1469b3bc84ab1b811329f05c75f4801a7de (patch)
tree354dd6678a442adc26be3572fac9b27e1d21d1d4 /src/lib/formats/apollo_dsk.cpp
parent023486a37ff70f9be765495c07ff3fe0b9c47bc1 (diff)
Constify the floppy image handling interface
Diffstat (limited to 'src/lib/formats/apollo_dsk.cpp')
-rw-r--r--src/lib/formats/apollo_dsk.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/formats/apollo_dsk.cpp b/src/lib/formats/apollo_dsk.cpp
index a1159ac68c8..62f8e354d61 100644
--- a/src/lib/formats/apollo_dsk.cpp
+++ b/src/lib/formats/apollo_dsk.cpp
@@ -46,14 +46,3 @@ const apollo_format::format apollo_format::formats[] = {
};
const floppy_format_type FLOPPY_APOLLO_FORMAT = &floppy_image_format_creator<apollo_format>;
-
-int apollo_format::identify(util::random_read &io, uint32_t form_factor, const std::vector<uint32_t> &variants)
-{
- uint64_t size;
- if (io.length(size))
- return 0;
-
- constexpr uint32_t expected_size = 77*2*8*1024;
-
- return ((size == expected_size) || (size == 0)) ? 1 : 0;
-}