summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ttchamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ttchamp.c')
-rw-r--r--src/mame/drivers/ttchamp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/ttchamp.c b/src/mame/drivers/ttchamp.c
index 4603cc55a39..3d660509af5 100644
--- a/src/mame/drivers/ttchamp.c
+++ b/src/mame/drivers/ttchamp.c
@@ -50,7 +50,8 @@ class ttchamp_state : public driver_device
public:
ttchamp_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_peno_vram;
UINT16* m_peno_mainram;
@@ -87,6 +88,7 @@ public:
UINT32 screen_update_ttchamp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(ttchamp_irq);
required_device<cpu_device> m_maincpu;
+ required_device<palette_device> m_palette;
};