diff options
author | 2012-01-23 21:49:30 +0000 | |
---|---|---|
committer | 2012-01-23 21:49:30 +0000 | |
commit | afb7d8fb6a595531c75d898cbdba6f3cffffcab5 (patch) | |
tree | af1fdf2d2acd27b4eae9eb2ad45102039db7688a /src/lib/formats/flopimg.h | |
parent | 2cad56dabbceaa7c7bb1cbe68e22b381a277beb4 (diff) |
floppy: Do specific UI handling [O. Galibert]
Diffstat (limited to 'src/lib/formats/flopimg.h')
-rw-r--r-- | src/lib/formats/flopimg.h | 6 |
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, |