summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/cgc7900.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/includes/cgc7900.h')
-rw-r--r--src/mess/includes/cgc7900.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mess/includes/cgc7900.h b/src/mess/includes/cgc7900.h
index 76b2fb0bb77..c55566b735e 100644
--- a/src/mess/includes/cgc7900.h
+++ b/src/mess/includes/cgc7900.h
@@ -30,6 +30,7 @@ public:
cgc7900_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M68000_TAG),
+ m_palette(*this, "palette"),
m_char_rom(*this, "gfx1"),
m_chrom_ram(*this, "chrom_ram"),
m_plane_ram(*this, "plane_ram"),
@@ -48,6 +49,7 @@ public:
{ }
required_device<cpu_device> m_maincpu;
+ required_device<palette_device> m_palette;
required_memory_region m_char_rom;
required_shared_ptr<UINT16> m_chrom_ram;
required_shared_ptr<UINT16> m_plane_ram;
@@ -67,6 +69,7 @@ public:
virtual void machine_start();
virtual void machine_reset();
+ DECLARE_PALETTE_INIT(cgc7900);
UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
DECLARE_READ16_MEMBER( keyboard_r );