summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/dcp_dsk.h
diff options
context:
space:
mode:
author etabeta78 <etabeta78@users.noreply.github.com>2014-12-11 14:30:57 +0100
committer etabeta78 <etabeta78@users.noreply.github.com>2014-12-11 14:30:57 +0100
commitd7e0e01987a50d9442e09ecbb7640f788bafaeb6 (patch)
tree63d81c007ea94390b2d341969999507fd327f74e /src/lib/formats/dcp_dsk.h
parent112d83bd5b9a119d07ee5cff2a875791463c3a06 (diff)
renamed the disk formats, since I cannot exclude some of them are used
also for x68000 disks... nw.
Diffstat (limited to 'src/lib/formats/dcp_dsk.h')
-rw-r--r--src/lib/formats/dcp_dsk.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/formats/dcp_dsk.h b/src/lib/formats/dcp_dsk.h
new file mode 100644
index 00000000000..4a5df0cbe73
--- /dev/null
+++ b/src/lib/formats/dcp_dsk.h
@@ -0,0 +1,31 @@
+/*********************************************************************
+
+ formats/dcp_dsk.h
+
+ PC98 DCP & DCU disk images
+
+*********************************************************************/
+
+#ifndef DCP_DSK_H
+#define DCP_DSK_H
+
+#include "flopimg.h"
+
+
+class dcp_format : public floppy_image_format_t
+{
+public:
+ dcp_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_DCP_FORMAT;
+
+#endif /* PC98DCP_DSK_H */