summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/flopimg.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2012-01-23 21:49:30 +0000
committer Olivier Galibert <galibert@pobox.com>2012-01-23 21:49:30 +0000
commitafb7d8fb6a595531c75d898cbdba6f3cffffcab5 (patch)
treeaf1fdf2d2acd27b4eae9eb2ad45102039db7688a /src/lib/formats/flopimg.h
parent2cad56dabbceaa7c7bb1cbe68e22b381a277beb4 (diff)
floppy: Do specific UI handling [O. Galibert]
Diffstat (limited to 'src/lib/formats/flopimg.h')
-rw-r--r--src/lib/formats/flopimg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/formats/flopimg.h b/src/lib/formats/flopimg.h
index 40467798539..5b1bffb3a0e 100644
--- a/src/lib/formats/flopimg.h
+++ b/src/lib/formats/flopimg.h
@@ -237,6 +237,8 @@ public:
floppy_image_format_t *next;
void append(floppy_image_format_t *_next);
+ bool extension_matches(const char *file_name) const;
+
protected:
// Input for convert_to_edge
enum {
@@ -522,6 +524,8 @@ public:
// Variants
enum {
+ SSSD = 0x44535353, // "SSSD",
+ SSDD = 0x44445353, // "DSSD",
DSDD = 0x44445344, // "DSDD",
DSHD = 0x44485344, // "DSHD",
DSED = 0x44455344, // "DSED",
@@ -543,6 +547,8 @@ public:
void get_maximal_geometry(int &tracks, int &heads);
void get_actual_geometry(int &tracks, int &heads);
+ static const char *get_variant_name(UINT32 form_factor, UINT32 variant);
+
private:
enum {
MAX_FLOPPY_HEADS = 2,