galaxian.cpp: Safer order for static definitions (nw)

This commit is contained in:
AJR 2017-09-02 17:40:13 -04:00
parent 91af13496b
commit 02b7e955ab

View File

@ -5724,13 +5724,6 @@ static MACHINE_CONFIG_DERIVED( konami_base, galaxian_base )
MCFG_I8255_OUT_PORTC_CB(WRITE8(galaxian_state, konami_portc_1_w))
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( scramble_base, konami_base )
MCFG_FRAGMENT_ADD(konami_sound_2x_ay8910)
/* blinking frequency is determined by 555 counter with Ra=100k, Rb=10k, C=10uF */
MCFG_TIMER_DRIVER_ADD_PERIODIC("stars", galaxian_state, scramble_stars_blink_timer, PERIOD_OF_555_ASTABLE(100000, 10000, 0.00001))
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( konami_sound_1x_ay8910 )
@ -5789,6 +5782,14 @@ static MACHINE_CONFIG_START( konami_sound_2x_ay8910 )
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( scramble_base, konami_base )
MCFG_FRAGMENT_ADD(konami_sound_2x_ay8910)
/* blinking frequency is determined by 555 counter with Ra=100k, Rb=10k, C=10uF */
MCFG_TIMER_DRIVER_ADD_PERIODIC("stars", galaxian_state, scramble_stars_blink_timer, PERIOD_OF_555_ASTABLE(100000, 10000, 0.00001))
MACHINE_CONFIG_END
/*************************************
*