diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-09-02 17:40:13 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-09-02 17:41:13 -0400 |
commit | 02b7e955abb82b562e5405fb1a166f1c799f3e0a (patch) | |
tree | bc2d6746f9fce9eb8422e3e3a92724eeda13cd4d | |
parent | 91af13496b8e6629e8d9924c3aabf4c791e16f64 (diff) |
galaxian.cpp: Safer order for static definitions (nw)
-rw-r--r-- | src/mame/drivers/galaxian.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mame/drivers/galaxian.cpp b/src/mame/drivers/galaxian.cpp index ba1cca95531..caae5457a0d 100644 --- a/src/mame/drivers/galaxian.cpp +++ b/src/mame/drivers/galaxian.cpp @@ -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 + + /************************************* * |