summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/includes/shangha3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/includes/shangha3.h b/src/mame/includes/shangha3.h
index 10df501f759..b18852a5cf0 100644
--- a/src/mame/includes/shangha3.h
+++ b/src/mame/includes/shangha3.h
@@ -23,6 +23,7 @@ public:
m_palette(*this, "palette"),
m_soundlatch(*this, "soundlatch"),
m_ram(*this, "ram"),
+ m_cgrom(*this, "gfx1"),
m_okibank(*this, "okibank")
{ }
@@ -47,6 +48,7 @@ private:
optional_device<generic_latch_8_device> m_soundlatch;
required_shared_ptr<uint16_t> m_ram;
+ required_region_ptr<uint8_t> m_cgrom;
optional_memory_bank m_okibank;
@@ -63,6 +65,7 @@ private:
DECLARE_WRITE16_MEMBER(gfxlist_addr_w);
DECLARE_WRITE16_MEMBER(blitter_go_w);
DECLARE_WRITE16_MEMBER(irq_ack_w);
+ uint8_t cgrom_r(offs_t offset);
// shangha3 specific
DECLARE_READ16_MEMBER(shangha3_prot_r);