diff options
Diffstat (limited to 'src/mame/drivers/pooyan.cpp')
-rw-r--r-- | src/mame/drivers/pooyan.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mame/drivers/pooyan.cpp b/src/mame/drivers/pooyan.cpp index 0aaf17d8750..50c2d28ffca 100644 --- a/src/mame/drivers/pooyan.cpp +++ b/src/mame/drivers/pooyan.cpp @@ -17,7 +17,6 @@ #include "cpu/z80/z80.h" #include "machine/74259.h" -#include "machine/gen_latch.h" #include "machine/watchdog.h" #include "screen.h" #include "speaker.h" @@ -78,7 +77,7 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, pooyan_state ) AM_RANGE(0xa0c0, 0xa0c0) AM_MIRROR(0x5e1f) AM_READ_PORT("IN2") AM_RANGE(0xa0e0, 0xa0e0) AM_MIRROR(0x5e1f) AM_READ_PORT("DSW0") AM_RANGE(0xa000, 0xa000) AM_MIRROR(0x5e7f) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w) - AM_RANGE(0xa100, 0xa100) AM_MIRROR(0x5e7f) AM_DEVWRITE("soundlatch", generic_latch_8_device, write) + AM_RANGE(0xa100, 0xa100) AM_MIRROR(0x5e7f) AM_DEVWRITE("timeplt_audio", timeplt_audio_device, sound_data_w) AM_RANGE(0xa180, 0xa187) AM_MIRROR(0x5e78) AM_DEVWRITE("mainlatch", ls259_device, write_d0) ADDRESS_MAP_END @@ -226,8 +225,6 @@ MACHINE_CONFIG_START(pooyan_state::pooyan) /* sound hardware */ - MCFG_GENERIC_LATCH_8_ADD("soundlatch") - MCFG_SOUND_ADD("timeplt_audio", TIMEPLT_AUDIO, 0) downcast<timeplt_audio_device *>(device)->timeplt_sound(config); MACHINE_CONFIG_END |