diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2015-12-05 20:32:27 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2015-12-05 21:20:53 +0100 |
commit | 1c4865d66ff88a6891ebdde4580c3d61ee46ffa2 (patch) | |
tree | 268936fc8389b1a2adb8bfc3fa3006f12a4ccc95 /src/devices/bus/gba/gba_slot.h | |
parent | e8516832e941e39fa1db11211249afa9f015e7bb (diff) |
override part 1 (nw)
Diffstat (limited to 'src/devices/bus/gba/gba_slot.h')
-rw-r--r-- | src/devices/bus/gba/gba_slot.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/devices/bus/gba/gba_slot.h b/src/devices/bus/gba/gba_slot.h index 3c6919db041..107334004ac 100644 --- a/src/devices/bus/gba/gba_slot.h +++ b/src/devices/bus/gba/gba_slot.h @@ -65,13 +65,13 @@ public: virtual ~gba_cart_slot_device(); // device-level overrides - virtual void device_start(); - virtual void device_config_complete(); + virtual void device_start() override; + virtual void device_config_complete() override; // image-level overrides - virtual bool call_load(); - virtual void call_unload(); - virtual bool call_softlist_load(software_list_device &swlist, const char *swname, const rom_entry *start_entry); + virtual bool call_load() override; + virtual void call_unload() override; + virtual bool call_softlist_load(software_list_device &swlist, const char *swname, const rom_entry *start_entry) override; int get_type() { return m_type; } int get_cart_type(UINT8 *ROM, UINT32 len); @@ -81,18 +81,18 @@ public: void save_nvram() { if (m_cart && m_cart->get_nvram_size()) m_cart->save_nvram(); } - virtual iodevice_t image_type() const { return IO_CARTSLOT; } - 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 1; } - virtual const option_guide *create_option_guide() const { return nullptr; } - virtual const char *image_interface() const { return "gba_cart"; } - virtual const char *file_extensions() const { return "gba,bin"; } + virtual iodevice_t image_type() const override { return IO_CARTSLOT; } + 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 1; } + virtual const option_guide *create_option_guide() const override { return nullptr; } + virtual const char *image_interface() const override { return "gba_cart"; } + virtual const char *file_extensions() const override { return "gba,bin"; } // slot interface overrides - virtual void get_default_card_software(std::string &result); + virtual void get_default_card_software(std::string &result) override; // reading and writing virtual DECLARE_READ32_MEMBER(read_rom); |