removed CassetteOptions that is already default (nw)

This commit is contained in:
Miodrag Milanovic 2014-05-02 07:39:32 +00:00
parent 57e835e12b
commit 018102f077
5 changed files with 6 additions and 37 deletions

View File

@ -161,16 +161,10 @@ static INPUT_PORTS_START (dai)
PORT_BIT(0xcb, IP_ACTIVE_HIGH, IPT_UNUSED)
INPUT_PORTS_END
static const struct CassetteOptions dai_cassette_options = {
1, /* channels */
16, /* bits per sample */
44100 /* sample frequency */
};
static const cassette_interface dai_cassette_interface =
{
cassette_default_formats,
&dai_cassette_options,
NULL,
(cassette_state)(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED),
NULL,
NULL

View File

@ -380,16 +380,10 @@ MACHINE_RESET_MEMBER(hec2hrp_state,hec2mdhrx)
}
/* Cassette definition */
static const struct CassetteOptions hector_cassette_options = {
1, /* channels */
16, /* bits per sample */
44100 /* sample frequency */
};
static const cassette_interface hector_cassette_interface =
{
hector_cassette_formats,
&hector_cassette_options,
NULL,
(cassette_state)(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED),
NULL,
NULL

View File

@ -98,16 +98,10 @@ static ADDRESS_MAP_START(interact_mem, AS_PROGRAM, 8, interact_state )
ADDRESS_MAP_END
/* Cassette definition */
static const struct CassetteOptions interact_cassette_options = {
1, /* channels */
16, /* bits per sample */
44100 /* sample frequency */
};
static const cassette_interface interact_cassette_interface =
{
hector_cassette_formats,
&interact_cassette_options,
NULL,
(cassette_state)(CASSETTE_STOPPED | CASSETTE_MASK_SPEAKER),
"interact_cass",
NULL

View File

@ -351,17 +351,10 @@ DRIVER_INIT_MEMBER(vg5k_state,vg5k)
}
static const struct CassetteOptions vg5k_cassette_options =
{
1, /* channels */
16, /* bits per sample */
44100 /* sample frequency */
};
static const cassette_interface vg5k_cassette_interface =
{
vg5k_cassette_formats,
&vg5k_cassette_options,
NULL,
(cassette_state)(CASSETTE_STOPPED | CASSETTE_MASK_SPEAKER),
"vg5k_cass",
NULL

View File

@ -357,16 +357,10 @@ PALETTE_INIT_MEMBER(zx_state,ts1000)
/* Machine Drivers */
static const struct CassetteOptions zx81_cassette_options = {
1, /* channels */
16, /* bits per sample */
44100 /* sample frequency */
};
static const cassette_interface zx80_cassette_interface =
{
zx80_o_format,
&zx81_cassette_options,
NULL,
(cassette_state)(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED),
NULL
};
@ -374,7 +368,7 @@ static const cassette_interface zx80_cassette_interface =
static const cassette_interface zx81_cassette_interface =
{
zx81_p_format,
&zx81_cassette_options,
NULL,
(cassette_state)(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED),
NULL,
NULL