summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/apexc.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2015-12-06 14:51:03 +0100
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2015-12-06 14:51:03 +0100
commit9e020f8a89b0aefa1efc3519bdfb3b929f55ff42 (patch) (github)
treedcf0598eee7264ff0cc7c08d91b69d9ff2cadeff /src/mame/drivers/apexc.cpp
parenta558fcefef371ca99831ecead6baaa988355e7af (diff)
downloadmame-9e020f8a89b0aefa1efc3519bdfb3b929f55ff42.tar.bz2
mame-9e020f8a89b0aefa1efc3519bdfb3b929f55ff42.zip
overrides in drivers (nw)
Diffstat (limited to 'src/mame/drivers/apexc.cpp')
-rw-r--r--src/mame/drivers/apexc.cpp82
1 files changed, 41 insertions, 41 deletions
diff --git a/src/mame/drivers/apexc.cpp b/src/mame/drivers/apexc.cpp
index eb275bcf037..f20a6d29685 100644
--- a/src/mame/drivers/apexc.cpp
+++ b/src/mame/drivers/apexc.cpp
@@ -34,8 +34,8 @@ public:
int m_letters;
int m_pos;
DECLARE_DRIVER_INIT(apexc);
- virtual void machine_start();
- virtual void video_start();
+ virtual void machine_start() override;
+ virtual void video_start() override;
DECLARE_PALETTE_INIT(apexc);
UINT32 screen_update_apexc(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(apexc_interrupt);
@@ -77,23 +77,23 @@ public:
apexc_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// image-level overrides
- virtual iodevice_t image_type() const { return IO_CYLINDER; }
-
- virtual bool is_readable() const { return 1; }
- virtual bool is_writeable() const { return 1; }
- virtual bool is_creatable() const { return 0; }
- virtual bool must_be_loaded() const { return 0; }
- virtual bool is_reset_on_load() const { return 1; }
- virtual const char *image_interface() const { return nullptr; }
- virtual const char *file_extensions() const { return "apc"; }
- virtual const option_guide *create_option_guide() const { return nullptr; }
-
- virtual bool call_load();
- virtual void call_unload();
+ virtual iodevice_t image_type() const override { return IO_CYLINDER; }
+
+ virtual bool is_readable() const override { return 1; }
+ virtual bool is_writeable() const override { return 1; }
+ virtual bool is_creatable() const override { return 0; }
+ virtual bool must_be_loaded() const override { return 0; }
+ virtual bool is_reset_on_load() const override { return 1; }
+ virtual const char *image_interface() const override { return nullptr; }
+ virtual const char *file_extensions() const override { return "apc"; }
+ virtual const option_guide *create_option_guide() const override { return nullptr; }
+
+ virtual bool call_load() override;
+ virtual void call_unload() override;
protected:
// device-level overrides
- virtual void device_config_complete() { update_names(); }
- virtual void device_start() { }
+ virtual void device_config_complete() override { update_names(); }
+ virtual void device_start() override { }
private:
int m_writable;
};
@@ -206,20 +206,20 @@ public:
apexc_tape_puncher_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// image-level overrides
- virtual iodevice_t image_type() const { return IO_PUNCHTAPE; }
-
- virtual bool is_readable() const { return 0; }
- virtual bool is_writeable() const { return 1; }
- virtual bool is_creatable() const { return 1; }
- virtual bool must_be_loaded() const { return 0; }
- virtual bool is_reset_on_load() const { return 0; }
- virtual const char *image_interface() const { return nullptr; }
- virtual const char *file_extensions() const { return "tap"; }
- virtual const option_guide *create_option_guide() const { return nullptr; }
+ virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; }
+
+ virtual bool is_readable() const override { return 0; }
+ virtual bool is_writeable() const override { return 1; }
+ virtual bool is_creatable() const override { return 1; }
+ virtual bool must_be_loaded() const override { return 0; }
+ virtual bool is_reset_on_load() const override { return 0; }
+ virtual const char *image_interface() const override { return nullptr; }
+ virtual const char *file_extensions() const override { return "tap"; }
+ virtual const option_guide *create_option_guide() const override { return nullptr; }
protected:
// device-level overrides
- virtual void device_config_complete() { update_names(); }
- virtual void device_start() { }
+ virtual void device_config_complete() override { update_names(); }
+ virtual void device_start() override { }
};
const device_type APEXC_TAPE_PUNCHER = &device_creator<apexc_tape_puncher_image_device>;
@@ -240,20 +240,20 @@ public:
apexc_tape_reader_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// image-level overrides
- virtual iodevice_t image_type() const { return IO_PUNCHTAPE; }
-
- virtual bool is_readable() const { return 1; }
- virtual bool is_writeable() const { return 0; }
- virtual bool is_creatable() const { return 0; }
- virtual bool must_be_loaded() const { return 0; }
- virtual bool is_reset_on_load() const { return 0; }
- virtual const char *image_interface() const { return nullptr; }
- virtual const char *file_extensions() const { return "tap"; }
- virtual const option_guide *create_option_guide() const { return nullptr; }
+ virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; }
+
+ virtual bool is_readable() const override { return 1; }
+ virtual bool is_writeable() const override { return 0; }
+ virtual bool is_creatable() const override { return 0; }
+ virtual bool must_be_loaded() const override { return 0; }
+ virtual bool is_reset_on_load() const override { return 0; }
+ virtual const char *image_interface() const override { return nullptr; }
+ virtual const char *file_extensions() const override { return "tap"; }
+ virtual const option_guide *create_option_guide() const override { return nullptr; }
protected:
// device-level overrides
- virtual void device_config_complete() { update_names(); }
- virtual void device_start() { }
+ virtual void device_config_complete() override { update_names(); }
+ virtual void device_start() override { }
};
const device_type APEXC_TAPE_READER = &device_creator<apexc_tape_reader_image_device>;