summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/comx35.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-05-02 17:19:09 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-05-02 17:19:09 +0000
commit22457cd9cef4d84293ecfaac2d5f7c3d3aa8d728 (patch)
tree90130209944a6a727ce14e71dcae2414f0ba7af7 /src/mess/drivers/comx35.c
parent3f73720885195bf21229e1a8e89a982a818e503b (diff)
cassette config moved inline (nw)
Diffstat (limited to 'src/mess/drivers/comx35.c')
-rw-r--r--src/mess/drivers/comx35.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/mess/drivers/comx35.c b/src/mess/drivers/comx35.c
index f8ff546cbbe..5452582616a 100644
--- a/src/mess/drivers/comx35.c
+++ b/src/mess/drivers/comx35.c
@@ -515,19 +515,6 @@ WRITE8_MEMBER( comx35_state::sc_w )
//-------------------------------------------------
-// cassette_interface cassette_intf
-//-------------------------------------------------
-
-static const cassette_interface cassette_intf =
-{
- cassette_default_formats,
- NULL,
- (cassette_state)(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED),
- NULL
-};
-
-
-//-------------------------------------------------
// COMX_EXPANSION_INTERFACE( expansion_intf )
//-------------------------------------------------
@@ -634,7 +621,8 @@ static MACHINE_CONFIG_START( pal, comx35_state )
MCFG_CDP1871_D11_CALLBACK(IOPORT("D11"))
MCFG_CDP1871_DA_CALLBACK(INPUTLINE(CDP1802_TAG, COSMAC_INPUT_LINE_EF3))
MCFG_QUICKLOAD_ADD("quickload", comx35_state, comx35_comx, "comx", 0)
- MCFG_CASSETTE_ADD("cassette", cassette_intf)
+ MCFG_CASSETTE_ADD("cassette")
+ MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED)
// expansion bus
MCFG_COMX_EXPANSION_SLOT_ADD(EXPANSION_TAG, comx_expansion_cards, "eb")
@@ -683,7 +671,8 @@ static MACHINE_CONFIG_START( ntsc, comx35_state )
MCFG_CDP1871_D11_CALLBACK(IOPORT("D11"))
MCFG_CDP1871_DA_CALLBACK(INPUTLINE(CDP1802_TAG, COSMAC_INPUT_LINE_EF3))
MCFG_QUICKLOAD_ADD("quickload", comx35_state, comx35_comx, "comx", 0)
- MCFG_CASSETTE_ADD("cassette", cassette_intf)
+ MCFG_CASSETTE_ADD("cassette")
+ MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED)
// expansion bus
MCFG_COMX_EXPANSION_SLOT_ADD(EXPANSION_TAG, comx_expansion_cards, "eb")