summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nubus/nubus_image.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-03-02 20:01:17 -0500
committer AJR <ajrhacker@users.noreply.github.com>2017-03-02 20:01:17 -0500
commit3ad77eae8a3c541fd02ece252ef56a6d9e3e2a49 (patch)
treefc112d758817569a40d13ae51535b4b37642e873 /src/devices/bus/nubus/nubus_image.h
parente27a978955f4a849b7c11ae0bb0fbc6a2bcdd9af (diff)
Image instance name refactoring and bug fixing (nw)
- update_names no longer takes arguments; the device type can be obtained easily, and the custom instance names are now overrides. Devices might not need to explicitly call update_names in the future. - Fix the frontend crash/assert failure resulting from instance names not being generated properly.
Diffstat (limited to 'src/devices/bus/nubus/nubus_image.h')
-rw-r--r--src/devices/bus/nubus/nubus_image.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/devices/bus/nubus/nubus_image.h b/src/devices/bus/nubus/nubus_image.h
index db0fcf835b8..543ae8d3781 100644
--- a/src/devices/bus/nubus/nubus_image.h
+++ b/src/devices/bus/nubus/nubus_image.h
@@ -30,33 +30,33 @@ class nubus_image_device :
public device_nubus_card_interface
{
public:
- // construction/destruction
- nubus_image_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- nubus_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source);
+ // construction/destruction
+ nubus_image_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ nubus_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source);
- // optional information overrides
- virtual machine_config_constructor device_mconfig_additions() const override;
- virtual const tiny_rom_entry *device_rom_region() const override;
+ // optional information overrides
+ virtual machine_config_constructor device_mconfig_additions() const override;
+ virtual const tiny_rom_entry *device_rom_region() const override;
protected:
- // device-level overrides
- virtual void device_start() override;
- virtual void device_reset() override;
+ // device-level overrides
+ virtual void device_start() override;
+ virtual void device_reset() override;
- DECLARE_READ32_MEMBER(image_status_r);
- DECLARE_WRITE32_MEMBER(image_status_w);
- DECLARE_READ32_MEMBER(image_r);
- DECLARE_WRITE32_MEMBER(image_w);
- DECLARE_READ32_MEMBER(image_super_r);
- DECLARE_WRITE32_MEMBER(image_super_w);
- DECLARE_READ32_MEMBER(file_cmd_r);
- DECLARE_WRITE32_MEMBER(file_cmd_w);
- DECLARE_READ32_MEMBER(file_data_r);
- DECLARE_WRITE32_MEMBER(file_data_w);
- DECLARE_READ32_MEMBER(file_len_r);
- DECLARE_WRITE32_MEMBER(file_len_w);
- DECLARE_READ32_MEMBER(file_name_r);
- DECLARE_WRITE32_MEMBER(file_name_w);
+ DECLARE_READ32_MEMBER(image_status_r);
+ DECLARE_WRITE32_MEMBER(image_status_w);
+ DECLARE_READ32_MEMBER(image_r);
+ DECLARE_WRITE32_MEMBER(image_w);
+ DECLARE_READ32_MEMBER(image_super_r);
+ DECLARE_WRITE32_MEMBER(image_super_w);
+ DECLARE_READ32_MEMBER(file_cmd_r);
+ DECLARE_WRITE32_MEMBER(file_cmd_w);
+ DECLARE_READ32_MEMBER(file_data_r);
+ DECLARE_WRITE32_MEMBER(file_data_w);
+ DECLARE_READ32_MEMBER(file_len_r);
+ DECLARE_WRITE32_MEMBER(file_len_w);
+ DECLARE_READ32_MEMBER(file_name_r);
+ DECLARE_WRITE32_MEMBER(file_name_w);
public:
messimg_disk_image_device *m_image;