diff options
Diffstat (limited to 'src/devices/bus/psx/memcard.h')
-rw-r--r-- | src/devices/bus/psx/memcard.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/devices/bus/psx/memcard.h b/src/devices/bus/psx/memcard.h index 05bba518d60..8a4b461cd6b 100644 --- a/src/devices/bus/psx/memcard.h +++ b/src/devices/bus/psx/memcard.h @@ -5,22 +5,18 @@ #pragma once +#include "imagedev/memcard.h" + class psx_controller_port_device; class psxcard_device : public device_t, - public device_image_interface + public device_memcard_image_interface { public: psxcard_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - virtual iodevice_t image_type() const noexcept override { return IO_MEMCARD; } - - virtual bool is_readable() const noexcept override { return true; } - virtual bool is_writeable() const noexcept override { return true; } - virtual bool is_creatable() const noexcept override { return true; } - virtual bool must_be_loaded() const noexcept override { return false; } virtual bool is_reset_on_load() const noexcept override { return false; } virtual const char *file_extensions() const noexcept override { return "mc"; } |