diff options
| author | 2014-05-02 17:19:09 +0000 | |
|---|---|---|
| committer | 2014-05-02 17:19:09 +0000 | |
| commit | 22457cd9cef4d84293ecfaac2d5f7c3d3aa8d728 (patch) | |
| tree | 90130209944a6a727ce14e71dcae2414f0ba7af7 /src/mess/drivers/dai.c | |
| parent | 3f73720885195bf21229e1a8e89a982a818e503b (diff) | |
cassette config moved inline (nw)
Diffstat (limited to 'src/mess/drivers/dai.c')
| -rw-r--r-- | src/mess/drivers/dai.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/mess/drivers/dai.c b/src/mess/drivers/dai.c index 1078c9a265d..40452cbdf8d 100644 --- a/src/mess/drivers/dai.c +++ b/src/mess/drivers/dai.c @@ -161,14 +161,6 @@ static INPUT_PORTS_START (dai) PORT_BIT(0xcb, IP_ACTIVE_HIGH, IPT_UNUSED) INPUT_PORTS_END -static const cassette_interface dai_cassette_interface = -{ - cassette_default_formats, - NULL, - (cassette_state)(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED), - NULL -}; - /* F4 Character Displayer */ static const gfx_layout dai_charlayout = { @@ -230,7 +222,8 @@ static MACHINE_CONFIG_START( dai, dai_state ) MCFG_SOUND_ROUTE(1, "rspeaker", 0.50) /* cassette */ - MCFG_CASSETTE_ADD( "cassette", dai_cassette_interface ) + MCFG_CASSETTE_ADD( "cassette" ) + MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED) /* tms5501 */ MCFG_DEVICE_ADD("tms5501", TMS5501, 2000000) |
