summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/pokechmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/pokechmp.h')
-rw-r--r--src/mame/includes/pokechmp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mame/includes/pokechmp.h b/src/mame/includes/pokechmp.h
index a4cf94fd34f..1dca3ae166a 100644
--- a/src/mame/includes/pokechmp.h
+++ b/src/mame/includes/pokechmp.h
@@ -1,5 +1,8 @@
// license:BSD-3-Clause
// copyright-holders:David Haywood
+
+#include "machine/gen_latch.h"
+
class pokechmp_state : public driver_device
{
public:
@@ -10,7 +13,8 @@ public:
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette") { }
+ m_palette(*this, "palette"),
+ m_soundlatch(*this, "soundlatch") { }
required_shared_ptr<UINT8> m_videoram;
tilemap_t *m_bg_tilemap;
@@ -29,4 +33,5 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
+ required_device<generic_latch_8_device> m_soundlatch;
};