summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/ssystem3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/includes/ssystem3.h')
-rw-r--r--src/mess/includes/ssystem3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mess/includes/ssystem3.h b/src/mess/includes/ssystem3.h
index 174e37eba48..f88835d2e26 100644
--- a/src/mess/includes/ssystem3.h
+++ b/src/mess/includes/ssystem3.h
@@ -39,7 +39,8 @@ class ssystem3_state : public driver_device
public:
ssystem3_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") { }
UINT8 m_porta;
UINT8 *m_videoram;
@@ -54,6 +55,7 @@ public:
DECLARE_READ8_MEMBER(ssystem3_via_read_b);
DECLARE_WRITE8_MEMBER(ssystem3_via_write_b);
required_device<cpu_device> m_maincpu;
+ required_device<palette_device> m_palette;
void ssystem3_lcd_reset();
void ssystem3_lcd_write(int clock, int data);
void ssystem3_draw_7segment(bitmap_ind16 &bitmap,int value, int x, int y);