summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/timeplt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/timeplt.cpp')
-rw-r--r--src/mame/drivers/timeplt.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mame/drivers/timeplt.cpp b/src/mame/drivers/timeplt.cpp
index ad00b089299..94a3ec9fec5 100644
--- a/src/mame/drivers/timeplt.cpp
+++ b/src/mame/drivers/timeplt.cpp
@@ -54,7 +54,6 @@
#include "cpu/z80/z80.h"
#include "machine/74259.h"
-#include "machine/gen_latch.h"
#include "machine/watchdog.h"
#include "sound/ay8910.h"
@@ -139,7 +138,7 @@ static ADDRESS_MAP_START( timeplt_main_map, AS_PROGRAM, 8, timeplt_state )
AM_RANGE(0xa800, 0xafff) AM_RAM
AM_RANGE(0xb000, 0xb0ff) AM_MIRROR(0x0b00) AM_RAM AM_SHARE("spriteram")
AM_RANGE(0xb400, 0xb4ff) AM_MIRROR(0x0b00) AM_RAM AM_SHARE("spriteram2")
- AM_RANGE(0xc000, 0xc000) AM_MIRROR(0x0cff) AM_READ(scanline_r) AM_DEVWRITE("soundlatch", generic_latch_8_device, write)
+ AM_RANGE(0xc000, 0xc000) AM_MIRROR(0x0cff) AM_READ(scanline_r) AM_DEVWRITE("timeplt_audio", timeplt_audio_device, sound_data_w)
AM_RANGE(0xc200, 0xc200) AM_MIRROR(0x0cff) AM_READ_PORT("DSW1") AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
AM_RANGE(0xc300, 0xc300) AM_MIRROR(0x0c9f) AM_READ_PORT("IN0")
AM_RANGE(0xc300, 0xc30f) AM_MIRROR(0x0cf0) AM_DEVWRITE_MOD("mainlatch", ls259_device, write_d0, rshift<1>)
@@ -455,8 +454,6 @@ MACHINE_CONFIG_START(timeplt_state::timeplt)
/* 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