summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/splash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/splash.h')
-rw-r--r--src/mame/includes/splash.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mame/includes/splash.h b/src/mame/includes/splash.h
index da40cfae925..c10ac031084 100644
--- a/src/mame/includes/splash.h
+++ b/src/mame/includes/splash.h
@@ -1,6 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:Manuel Abadia, David Haywood
+#include "machine/74259.h"
#include "machine/eepromser.h"
#include "machine/gen_latch.h"
#include "sound/msm5205.h"
@@ -16,6 +17,7 @@ public:
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette"),
m_soundlatch(*this, "soundlatch"),
+ m_outlatch(*this, "outlatch"),
m_pixelram(*this, "pixelram"),
m_videoram(*this, "videoram"),
m_vregs(*this, "vregs"),
@@ -30,6 +32,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
required_device<generic_latch_8_device> m_soundlatch;
+ optional_device<ls259_device> m_outlatch;
required_shared_ptr<uint16_t> m_pixelram;
required_shared_ptr<uint16_t> m_videoram;
@@ -54,7 +57,11 @@ public:
// common
DECLARE_WRITE16_MEMBER(vram_w);
- DECLARE_WRITE16_MEMBER(coin_w);
+ DECLARE_WRITE8_MEMBER(coin_w);
+ DECLARE_WRITE_LINE_MEMBER(coin1_lockout_w);
+ DECLARE_WRITE_LINE_MEMBER(coin2_lockout_w);
+ DECLARE_WRITE_LINE_MEMBER(coin1_counter_w);
+ DECLARE_WRITE_LINE_MEMBER(coin2_counter_w);
// splash specific
DECLARE_WRITE_LINE_MEMBER(splash_msm5205_int);