mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00

Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
33 lines
825 B
C++
33 lines
825 B
C++
// license:BSD-3-Clause
|
|
// copyright-holders:Olivier Galibert
|
|
/*********************************************************************
|
|
|
|
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_t form_factor) override;
|
|
virtual bool load(io_generic *io, uint32_t form_factor, floppy_image *image) override;
|
|
|
|
virtual const char *name() const override;
|
|
virtual const char *description() const override;
|
|
virtual const char *extensions() const override;
|
|
virtual bool supports_save() const override;
|
|
};
|
|
|
|
extern const floppy_format_type FLOPPY_DSK_FORMAT;
|
|
|
|
#endif /* CPCDSK_DSK_H */
|