mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
duh
This commit is contained in:
parent
6a43e78d97
commit
48d5733ec2
2 changed files with 35 additions and 0 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1814,6 +1814,7 @@ src/lib/formats/hxcmfm_dsk.h svneol=native#text/plain
|
|||
src/lib/formats/imageutl.c svneol=native#text/plain
|
||||
src/lib/formats/imageutl.h svneol=native#text/plain
|
||||
src/lib/formats/imd_dsk.c svneol=native#text/plain
|
||||
src/lib/formats/imd_dsk.h svneol=native#text/plain
|
||||
src/lib/formats/ioprocs.c svneol=native#text/plain
|
||||
src/lib/formats/ioprocs.h svneol=native#text/plain
|
||||
src/lib/formats/ipf_dsk.c svneol=native#text/plain
|
||||
|
|
34
src/lib/formats/imd_dsk.h
Normal file
34
src/lib/formats/imd_dsk.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*********************************************************************
|
||||
|
||||
formats/imd_dsk.h
|
||||
|
||||
IMD disk images
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#ifndef IMD_DSK_H
|
||||
#define IMD_DSK_H
|
||||
|
||||
#include "flopimg.h"
|
||||
|
||||
|
||||
class imd_format : public floppy_image_format_t
|
||||
{
|
||||
public:
|
||||
imd_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;
|
||||
|
||||
private:
|
||||
void fixnum(char *start, char *end) const;
|
||||
};
|
||||
|
||||
extern const floppy_format_type FLOPPY_IMD_FORMAT;
|
||||
|
||||
#endif /* IMD_DSK_H */
|
Loading…
Reference in a new issue