summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/pce_cd.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/pce_cd.c
parent2d68fa308fec368614a89f276964356e06b4db81 (diff)
Cleanup of image device interfaces (nw)
Diffstat (limited to 'src/mess/machine/pce_cd.c')
-rw-r--r--src/mess/machine/pce_cd.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mess/machine/pce_cd.c b/src/mess/machine/pce_cd.c
index f9bd8bf5d28..301d2bfaeee 100644
--- a/src/mess/machine/pce_cd.c
+++ b/src/mess/machine/pce_cd.c
@@ -229,17 +229,12 @@ void pce_cd_device::late_setup()
m_msm->change_clock_w((PCE_CD_CLOCK / 6) / m_adpcm_clock_divider);
}
-struct cdrom_interface pce_cdrom =
-{
- "pce_cdrom",
- NULL
-};
-
// TODO: left and right speaker tags should be passed from the parent config, instead of using the hard-coded ones below!?!
static MACHINE_CONFIG_FRAGMENT( pce_cd )
MCFG_NVRAM_ADD_0FILL("bram")
- MCFG_CDROM_ADD("cdrom", pce_cdrom)
+ MCFG_CDROM_ADD("cdrom")
+ MCFG_CDROM_INTERFACE("pce_cdrom")
MCFG_SOUND_ADD( "msm5205", MSM5205, PCE_CD_CLOCK / 6 )
MCFG_MSM5205_VCLK_CB(WRITELINE(pce_cd_device, msm5205_int)) /* interrupt function */