diff --git a/src/mame/includes/system1.h b/src/mame/includes/system1.h index fb02caa00ca..038537267c5 100644 --- a/src/mame/includes/system1.h +++ b/src/mame/includes/system1.h @@ -13,6 +13,7 @@ public: m_spriteram(*this, "spriteram"), m_nob_mcu_latch(*this, "nob_mcu_latch"), m_nob_mcu_status(*this, "nob_mcu_status"), + m_paletteram(*this, "palette"), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), m_mcu(*this, "mcu"), @@ -31,6 +32,7 @@ public: required_shared_ptr m_spriteram; optional_shared_ptr m_nob_mcu_latch; optional_shared_ptr m_nob_mcu_status; + required_shared_ptr m_paletteram; UINT8 *m_videoram; void (system1_state::*m_videomode_custom)(UINT8 data, UINT8 prevdata); diff --git a/src/mame/video/system1.c b/src/mame/video/system1.c index b43c8020664..b731529a82e 100644 --- a/src/mame/video/system1.c +++ b/src/mame/video/system1.c @@ -315,6 +315,7 @@ WRITE8_MEMBER(system1_state::system1_paletteram_w) if (m_color_prom != NULL) { + m_paletteram[offset] = data; UINT8 val; val = m_color_prom[data + 0 * 256];