From 0ac942c9b80ead41b72e4e1dda77e775b6ffc7fa Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 2 May 2014 12:10:55 +0000 Subject: Cleanup of image device interfaces (nw) --- src/mess/machine/psxcd.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/mess/machine/psxcd.c') 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; -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"); } -- cgit v1.2.3-70-g09d2