summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/suna16.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-12 09:26:32 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-12 09:26:32 +0000
commit1d40fe6824a3a57df60daaefa3b84feb9986d7a9 (patch)
treeaa279a2c0badf53cf71094190fd98f820bec2d4f /src/mame/includes/suna16.h
parent2938d4c348f4891590af3ce11f707947b83ad05d (diff)
dac_device tag lookup cleanup (nw)
Diffstat (limited to 'src/mame/includes/suna16.h')
-rw-r--r--src/mame/includes/suna16.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mame/includes/suna16.h b/src/mame/includes/suna16.h
index cb540ee191e..b21359f10a8 100644
--- a/src/mame/includes/suna16.h
+++ b/src/mame/includes/suna16.h
@@ -1,3 +1,5 @@
+#include "sound/dac.h"
+
class suna16_state : public driver_device
{
public:
@@ -5,13 +7,20 @@ public:
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_spriteram(*this, "spriteram"),
- m_spriteram2(*this, "spriteram2")
+ m_spriteram2(*this, "spriteram2"),
+ m_dac1(*this, "dac1"),
+ m_dac2(*this, "dac2"),
+ m_dac3(*this, "dac3"),
+ m_dac4(*this, "dac4")
{ }
required_device<cpu_device> m_maincpu;
required_shared_ptr<UINT16> m_spriteram;
optional_shared_ptr<UINT16> m_spriteram2;
-
+ required_device<dac_device> m_dac1;
+ required_device<dac_device> m_dac2;
+ optional_device<dac_device> m_dac3;
+ optional_device<dac_device> m_dac4;
UINT8 m_prot;
UINT16 *m_paletteram;
int m_color_bank;