summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/2d_dsk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/2d_dsk.h')
-rw-r--r--src/lib/formats/2d_dsk.h33
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__