summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/px4.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/px4.c
parent3f73720885195bf21229e1a8e89a982a818e503b (diff)
cassette config moved inline (nw)
Diffstat (limited to 'src/mess/drivers/px4.c')
-rw-r--r--src/mess/drivers/px4.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mess/drivers/px4.c b/src/mess/drivers/px4.c
index e5b9f972b55..0c7f949246a 100644
--- a/src/mess/drivers/px4.c
+++ b/src/mess/drivers/px4.c
@@ -1359,14 +1359,6 @@ PALETTE_INIT_MEMBER(px4_state, px4p)
// MACHINE DRIVERS
//**************************************************************************
-static const cassette_interface px4_cassette_interface =
-{
- cassette_default_formats,
- NULL,
- (cassette_state)(CASSETTE_PLAY | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_DISABLED),
- NULL
-};
-
static MACHINE_CONFIG_START( px4, px4_state )
// basic machine hardware
MCFG_CPU_ADD("maincpu", Z80, XTAL_7_3728MHz / 2) // uPD70008
@@ -1406,7 +1398,9 @@ static MACHINE_CONFIG_START( px4, px4_state )
MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
// external cassette
- MCFG_CASSETTE_ADD("extcas", px4_cassette_interface)
+ MCFG_CASSETTE_ADD("extcas")
+ MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_PLAY | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_DISABLED)
+
MCFG_TIMER_DRIVER_ADD("extcas_timer", px4_state, ext_cassette_read)
// sio port