summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/psxcd.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-05-02 12:10:55 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-05-02 12:10:55 +0000
commit0ac942c9b80ead41b72e4e1dda77e775b6ffc7fa (patch)
tree97d15907bfe8909184259cc3ce3613967dd2709c /src/mess/machine/psxcd.c
parent2d68fa308fec368614a89f276964356e06b4db81 (diff)
Cleanup of image device interfaces (nw)
Diffstat (limited to 'src/mess/machine/psxcd.c')
-rw-r--r--src/mess/machine/psxcd.c8
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");
}