summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/flex_dsk.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2015-02-07 11:24:10 +0100
committer Olivier Galibert <galibert@pobox.com>2015-02-07 11:24:32 +0100
commitd35b80ca0610f329c41c22c047e47c618a973fb0 (patch)
treee3e43efb992d82fa867ec5aefa2cdcd5f84880cf /src/lib/formats/flex_dsk.h
parent74e497511013d6e9406f6bb98ec6ffa35fb89947 (diff)
huh? (nw)
Diffstat (limited to 'src/lib/formats/flex_dsk.h')
-rw-r--r--src/lib/formats/flex_dsk.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/formats/flex_dsk.h b/src/lib/formats/flex_dsk.h
index b8c8d66318a..9348fecd5db 100644
--- a/src/lib/formats/flex_dsk.h
+++ b/src/lib/formats/flex_dsk.h
@@ -7,9 +7,9 @@
#ifndef FLEX_DSK_H_
#define FLEX_DSK_H_
-#include "wd177x_dsk.h"
+#include "flopimg.h"
-class flex_format : public wd177x_format {
+class flex_format : public floppy_image_format_t {
public:
flex_format();
@@ -18,6 +18,8 @@ public:
virtual const char *extensions() const;
virtual int identify(io_generic *io, UINT32 form_factor);
virtual bool load(io_generic *io, UINT32 form_factor, floppy_image *image);
+ virtual bool supports_save() const;
+
private:
struct sysinfo_sector
{
@@ -37,7 +39,6 @@ private:
UINT8 last_sec;
UINT8 unused2[216];
} info;
- static const format formats[];
};
extern const floppy_format_type FLOPPY_FLEX_FORMAT;