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/machine/genpc.c | |
parent | 3f73720885195bf21229e1a8e89a982a818e503b (diff) |
cassette config moved inline (nw)
Diffstat (limited to 'src/mess/machine/genpc.c')
-rw-r--r-- | src/mess/machine/genpc.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/mess/machine/genpc.c b/src/mess/machine/genpc.c index aacc89b7686..7c5139b4d1d 100644 --- a/src/mess/machine/genpc.c +++ b/src/mess/machine/genpc.c @@ -600,21 +600,14 @@ const device_type IBM5150_MOTHERBOARD = &device_creator<ibm5150_mb_device>; //************************************************************************** // DEVICE CONFIGURATION //************************************************************************** -static const cassette_interface ibm5150_cassette_interface = -{ - cassette_default_formats, - NULL, - (cassette_state)(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED), - NULL -}; - static MACHINE_CONFIG_FRAGMENT( ibm5150_mb_config ) MCFG_FRAGMENT_ADD(ibm5160_mb_config) MCFG_DEVICE_MODIFY("pc_kbdc") MCFG_PC_KBDC_OUT_CLOCK_CB(WRITELINE(ibm5150_mb_device, keyboard_clock_w)) - MCFG_CASSETTE_ADD( "cassette", ibm5150_cassette_interface ) + MCFG_CASSETTE_ADD( "cassette" ) + MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED) MACHINE_CONFIG_END |