summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/tutankhm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/tutankhm.h')
-rw-r--r--src/mame/includes/tutankhm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/includes/tutankhm.h b/src/mame/includes/tutankhm.h
index f183b0688eb..b5748db47b0 100644
--- a/src/mame/includes/tutankhm.h
+++ b/src/mame/includes/tutankhm.h
@@ -6,13 +6,12 @@ public:
tutankhm_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
- m_paletteram(*this, "paletteram"),
m_scroll(*this, "scroll"),
- m_maincpu(*this, "maincpu"){ }
+ m_maincpu(*this, "maincpu"),
+ m_palette(*this, "palette") { }
/* memory pointers */
required_shared_ptr<UINT8> m_videoram;
- required_shared_ptr<UINT8> m_paletteram;
required_shared_ptr<UINT8> m_scroll;
/* video-related */
@@ -26,6 +25,7 @@ public:
/* devices */
required_device<cpu_device> m_maincpu;
+ required_device<palette_device> m_palette;
DECLARE_WRITE8_MEMBER(irq_enable_w);
DECLARE_WRITE8_MEMBER(tutankhm_bankselect_w);
DECLARE_WRITE8_MEMBER(sound_mute_w);
@@ -36,5 +36,4 @@ public:
DECLARE_MACHINE_RESET(tutankhm);
UINT32 screen_update_tutankhm(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(tutankhm_interrupt);
- void get_pens( pen_t *pens );
};