diff options
author | 2014-05-02 12:10:55 +0000 | |
---|---|---|
committer | 2014-05-02 12:10:55 +0000 | |
commit | 0ac942c9b80ead41b72e4e1dda77e775b6ffc7fa (patch) | |
tree | 97d15907bfe8909184259cc3ce3613967dd2709c /src/emu/imagedev/diablo.c | |
parent | 2d68fa308fec368614a89f276964356e06b4db81 (diff) |
Cleanup of image device interfaces (nw)
Diffstat (limited to 'src/emu/imagedev/diablo.c')
-rw-r--r-- | src/emu/imagedev/diablo.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/emu/imagedev/diablo.c b/src/emu/imagedev/diablo.c index 269b819688d..4fefea270c4 100644 --- a/src/emu/imagedev/diablo.c +++ b/src/emu/imagedev/diablo.c @@ -37,7 +37,8 @@ diablo_image_device::diablo_image_device(const machine_config &mconfig, const ch m_chd(NULL), m_hard_disk_handle(NULL), m_device_image_load(device_image_load_delegate()), - m_device_image_unload(device_image_func_delegate()) + m_device_image_unload(device_image_func_delegate()), + m_interface(NULL) { } @@ -57,18 +58,6 @@ diablo_image_device::~diablo_image_device() void diablo_image_device::device_config_complete() { - // inherit a copy of the static data - const diablo_interface *intf = reinterpret_cast<const diablo_interface *>(static_config()); - if (intf != NULL) - *static_cast<diablo_interface *>(this) = *intf; - - // or initialize to defaults if none provided - else - { - memset(&m_interface, 0, sizeof(m_interface)); - memset(&m_device_displayinfo, 0, sizeof(m_device_displayinfo)); - } - m_formatlist.append(*global_alloc(image_device_format("chd", "CHD Hard drive", "chd,dsk", dsk_option_spec))); // set brief and instance name |