Пример #1
0
void n8080_state::sound_pins_changed()
{
	if (m_n8080_hardware == 1)
		spacefev_sound_pins_changed();
	if (m_n8080_hardware == 2)
		sheriff_sound_pins_changed();
	if (m_n8080_hardware == 3)
		helifire_sound_pins_changed();

	m_prev_sound_pins = m_curr_sound_pins;
}
Пример #2
0
static void sound_pins_changed( running_machine &machine )
{
	n8080_state *state = machine.driver_data<n8080_state>();

	if (state->m_n8080_hardware == 1)
		spacefev_sound_pins_changed(machine);
	if (state->m_n8080_hardware == 2)
		sheriff_sound_pins_changed(machine);
	if (state->m_n8080_hardware == 3)
		helifire_sound_pins_changed(machine);

	state->m_prev_sound_pins = state->m_curr_sound_pins;
}