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/spectrum.c | |
| parent | 3f73720885195bf21229e1a8e89a982a818e503b (diff) | |
cassette config moved inline (nw)
Diffstat (limited to 'src/mess/drivers/spectrum.c')
| -rw-r--r-- | src/mess/drivers/spectrum.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/mess/drivers/spectrum.c b/src/mess/drivers/spectrum.c index d99cdbcbe58..04dfda56b9c 100644 --- a/src/mess/drivers/spectrum.c +++ b/src/mess/drivers/spectrum.c @@ -648,14 +648,6 @@ INTERRUPT_GEN_MEMBER(spectrum_state::spec_interrupt) device.execute().set_input_line(0, HOLD_LINE); } -static const cassette_interface spectrum_cassette_interface = -{ - tzx_cassette_formats, - NULL, - (cassette_state)(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED), - "spectrum_cass" -}; - DEVICE_IMAGE_LOAD_MEMBER( spectrum_state,spectrum_cart ) { UINT32 filesize; @@ -720,7 +712,11 @@ MACHINE_CONFIG_START( spectrum_common, spectrum_state ) /* devices */ MCFG_SNAPSHOT_ADD("snapshot", spectrum_state, spectrum, "ach,frz,plusd,prg,sem,sit,sna,snp,snx,sp,z80,zx", 0) MCFG_QUICKLOAD_ADD("quickload", spectrum_state, spectrum, "raw,scr", 2) // The delay prevents the screen from being cleared by the RAM test at boot - MCFG_CASSETTE_ADD( "cassette", spectrum_cassette_interface ) + MCFG_CASSETTE_ADD( "cassette" ) + MCFG_CASSETTE_FORMATS(tzx_cassette_formats) + MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED) + MCFG_CASSETTE_INTERFACE("spectrum_cass") + MCFG_SOFTWARE_LIST_ADD("cass_list","spectrum_cass") /* cartridge */ |
