summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/galgame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/galgame.c')
-rw-r--r--src/mame/drivers/galgame.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/galgame.c b/src/mame/drivers/galgame.c
index 0cf0e65483c..e575588f709 100644
--- a/src/mame/drivers/galgame.c
+++ b/src/mame/drivers/galgame.c
@@ -19,7 +19,8 @@ class galaxygame_state : public driver_device
public:
galaxygame_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu") { }
+ m_maincpu(*this, "maincpu"),
+ m_palette(*this, "palette") { }
UINT16 m_clk;
@@ -51,6 +52,7 @@ public:
INTERRUPT_GEN_MEMBER(galaxygame_irq);
IRQ_CALLBACK_MEMBER(galaxygame_irq_callback);
required_device<cpu_device> m_maincpu;
+ required_device<palette_device> m_palette;
};
/*************************************