summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/backfire.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-04-23 13:56:01 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-04-23 13:56:01 +0000
commit856a4c71191c4a4e69c2c85f417b7a6e2bfea36c (patch)
treef2cc36925bc104c3e86c7267e0af7a9572afe119 /src/mame/drivers/backfire.c
parent248c2ced08e1657b0014761f405bbfeb8308cea1 (diff)
Moved m_generic_paletteram_* into drivers/device state objects so they are not global anymore (nw)
Diffstat (limited to 'src/mame/drivers/backfire.c')
-rw-r--r--src/mame/drivers/backfire.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/backfire.c b/src/mame/drivers/backfire.c
index 2caab928601..9f5264d828e 100644
--- a/src/mame/drivers/backfire.c
+++ b/src/mame/drivers/backfire.c
@@ -40,7 +40,8 @@ public:
m_io_in1(*this, "IN1"),
m_io_in2(*this, "IN2"),
m_io_in3(*this, "IN3"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette"),
+ m_generic_paletteram_32(*this, "paletteram")
{ }
/* memory pointers */
@@ -104,6 +105,7 @@ public:
required_ioport m_io_in2;
required_ioport m_io_in3;
required_device<palette_device> m_palette;
+ required_shared_ptr<UINT32> m_generic_paletteram_32;
DECLARE_WRITE_LINE_MEMBER(sound_irq_gen);
};