diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2012-09-13 11:15:32 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2012-09-13 11:15:32 +0000 |
commit | 219e664785890f52079bae7e74543920d638796a (patch) | |
tree | 774d1ab1e7d87ae4d2c1ef335dcef24a28a7d7e8 /src/mame/drivers/eolith.c | |
parent | af9a5e817d3eefdda79e801056b29167ecbcdef9 (diff) |
Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT changed to be members of state classes (no whatsnew)
Diffstat (limited to 'src/mame/drivers/eolith.c')
-rw-r--r-- | src/mame/drivers/eolith.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/eolith.c b/src/mame/drivers/eolith.c index 5a32f1f61d4..9f71d5d9a4e 100644 --- a/src/mame/drivers/eolith.c +++ b/src/mame/drivers/eolith.c @@ -106,7 +106,7 @@ #include "includes/eolithsp.h" -static MACHINE_RESET( eolith ); + /************************************* @@ -578,7 +578,7 @@ static MACHINE_CONFIG_START( eolith45, eolith_state ) MCFG_CPU_PROGRAM_MAP(sound_prg_map) MCFG_CPU_IO_MAP(sound_io_map) - MCFG_MACHINE_RESET(eolith) + MCFG_MACHINE_RESET_OVERRIDE(eolith_state,eolith) MCFG_EEPROM_ADD("eeprom", eeprom_interface_93C66) @@ -597,7 +597,7 @@ static MACHINE_CONFIG_START( eolith45, eolith_state ) MCFG_PALETTE_INIT(RRRRR_GGGGG_BBBBB) MCFG_PALETTE_LENGTH(32768) - MCFG_VIDEO_START(eolith) + MCFG_VIDEO_START_OVERRIDE(eolith_state,eolith) /* sound hardware */ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") @@ -1433,9 +1433,9 @@ ROM_START( hidctch3 ) ROM_END -static MACHINE_RESET( eolith ) +MACHINE_RESET_MEMBER(eolith_state,eolith) { - machine.device("soundcpu")->execute().set_input_line(MCS51_INT1_LINE, ASSERT_LINE); + machine().device("soundcpu")->execute().set_input_line(MCS51_INT1_LINE, ASSERT_LINE); } DRIVER_INIT_MEMBER(eolith_state,eolith) |