diff options
author | 2015-06-01 10:14:02 +0200 | |
---|---|---|
committer | 2015-06-01 10:14:37 +0200 | |
commit | 476d027582fd1fe1ce535e662161bed8f207ec65 (patch) | |
tree | b2062bcc3bf6c74d991d1321ed5ffe44f3840660 /src/lib/formats/2d_dsk.h | |
parent | 508cceb599402b3ca487c12bd93b5c19e8ae8831 (diff) |
mz2000: updated to use new wd fdc. fix softlist to use the correct
interface. change x1_dsk to 2d_dsk and use it for the mz2000 as well.
Diffstat (limited to 'src/lib/formats/2d_dsk.h')
-rw-r--r-- | src/lib/formats/2d_dsk.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/lib/formats/2d_dsk.h b/src/lib/formats/2d_dsk.h new file mode 100644 index 00000000000..ab70b95f21a --- /dev/null +++ b/src/lib/formats/2d_dsk.h @@ -0,0 +1,33 @@ +// license:GPL-2.0+ +// copyright-holders:Dirk Best +/*************************************************************************** + + Sharp 2D + + Disk image format + +***************************************************************************/ + +#pragma once + +#ifndef __2D_DSK_H__ +#define __2D_DSK_H__ + +#include "wd177x_dsk.h" + +class _2d_format : public wd177x_format +{ +public: + _2d_format(); + + virtual const char *name() const; + virtual const char *description() const; + virtual const char *extensions() const; + +private: + static const format formats[]; +}; + +extern const floppy_format_type FLOPPY_2D_FORMAT; + +#endif // __2D_DSK_H__ |