diff options
author | 2014-05-02 12:10:55 +0000 | |
---|---|---|
committer | 2014-05-02 12:10:55 +0000 | |
commit | 0ac942c9b80ead41b72e4e1dda77e775b6ffc7fa (patch) | |
tree | 97d15907bfe8909184259cc3ce3613967dd2709c /src/mess/machine/psxcd.c | |
parent | 2d68fa308fec368614a89f276964356e06b4db81 (diff) |
Cleanup of image device interfaces (nw)
Diffstat (limited to 'src/mess/machine/psxcd.c')
-rw-r--r-- | src/mess/machine/psxcd.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mess/machine/psxcd.c b/src/mess/machine/psxcd.c index 25ab627cc37..d29e9dc309f 100644 --- a/src/mess/machine/psxcd.c +++ b/src/mess/machine/psxcd.c @@ -83,17 +83,11 @@ enum submode_flags const device_type PSXCD = &device_creator<psxcd_device>; -static struct cdrom_interface psx_cdrom = -{ - "psx_cdrom", - NULL -}; - psxcd_device::psxcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cdrom_image_device(mconfig, PSXCD, "PSX Cdrom", tag, owner, clock, "psx_cd", __FILE__), m_irq_handler(*this) { - static_set_static_config(*this, &psx_cdrom); + static_set_interface(*this, "psx_cdrom"); } |