diff options
Diffstat (limited to 'trunk/src/lib/formats/dsk_dsk.h')
-rw-r--r-- | trunk/src/lib/formats/dsk_dsk.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/trunk/src/lib/formats/dsk_dsk.h b/trunk/src/lib/formats/dsk_dsk.h new file mode 100644 index 00000000000..fcee4926e9b --- /dev/null +++ b/trunk/src/lib/formats/dsk_dsk.h @@ -0,0 +1,30 @@ +/********************************************************************* + + formats/dsk_dsk.h + + CPC DSK disk images + +*********************************************************************/ + +#ifndef CPCDSK_DSK_H +#define CPCDSK_DSK_H + +#include "flopimg.h" + +class dsk_format : public floppy_image_format_t +{ +public: + dsk_format(); + + virtual int identify(io_generic *io, UINT32 form_factor); + virtual bool load(io_generic *io, UINT32 form_factor, floppy_image *image); + + virtual const char *name() const; + virtual const char *description() const; + virtual const char *extensions() const; + virtual bool supports_save() const; +}; + +extern const floppy_format_type FLOPPY_DSK_FORMAT; + +#endif /* CPCDSK_DSK_H */ |